ErrorResponse constructor
const
ErrorResponse({
- required Input<
String> context, - required Input<
String> payload, - required Input<
StackTraceResponse> stackTrace,
Creates a new ErrorResponse.
context Human-readable stack trace string.
payload Error message and data returned represented as a JSON string.
stackTrace Stack trace with detailed information of where error was generated.
Implementation
const ErrorResponse({
required this.context,
required this.payload,
required this.stackTrace,
});