InvocationError class

Invocation error occurs when there has been an error in the invocation of a handlers. It dynamically wraps the inner error and attaches the requestId to track it along the event.

Constructors

InvocationError(dynamic error, StackTrace stackTrace)
const

Properties

error → dynamic
The error that catched during the invocation and which is posted to the Lambda Runtime Interface.
final
hashCode int
The hash code for this object. [...]
read-only, inherited
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
stackTrace StackTrace
StackTrace ...
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
toJson() Map<String, dynamic>
Extracts the InvocationError data into a JSON representation for the Runtime Interface.
toString() String
Returns a string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator. [...]
inherited