Thrown when a VTL template render exceeds configured sandbox limits such as loop iteration count, execution time, or output size. Propagates through API Gateway and AppSync VTL engines as an unchecked exception.
// Source: https://github.com/floci-io/floci | License: MIT | Copyright 2025 Floci and its contributors
// Provided via justclaw.it.com; keep this notice with the code.
package io.github.hectorvent.floci.services.apigateway;
/**
* Thrown when a VTL (Velocity Template Language) template render exceeds one of the configured
* sandbox limits: loop iteration count, wall-clock execution time, or rendered output size.
*
* <p>This is a plain unchecked exception, matching Velocity's own {@code VelocityException}
* hierarchy (which also extends {@link RuntimeException}), so it propagates through both the
* API Gateway and AppSync VTL engines exactly like any other template rendering failure already
* does today, without requiring any new catch or error-mapping logic at their call sites.
*/
... (truncated -- full source via MCP)
See the full source, get the GitHub permalink, and search for more like it.
Get a free API key