Errors

The Errors node emits messages when an unhandled error occurs in a Function node of a Deployment.

Only one Errors node can be added to a stack at a time.

Message Formats

Output

When an error occurs the error object is emitted from the Errors node as the message. The object contains the following properties:

Field Type Description
class string Class of the error. Example: IllegalArgumentException
message string Error message. Example: 'foo' is an invalid value for argument 'bar'
stack string Error stack trace, where provided.
data Object Extra error data, where provided.
stackery.node.id string ID of the node that generated the error. Example: a83bd26f
stackery.node.name string Name of the node that generated the error, if the name exists. Example: My Function
stackery.runtime string Runtime of generating Function node, where available. Example: python
stackery.requestId string Request ID that generated the error, if available. Example: 6605b081-6f04-11e6-97ac-c34deb0b3dd9
stackery.message string The message passed into the function at invocation time, if available. Example: {"id": 5, "action": "PUT"}

Expected Response

The Errors node does not wait for responses after outputting error messages.

Try Stackery For Free

Gain control and visibility of your serverless operations from architecture design to application deployment and infrastructure monitoring.