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.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
stackTrace StackTrace
StackTrace ...
final

Methods

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

Operators

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