ErrorResponse constructor

const ErrorResponse({
  1. required Input<String> context,
  2. required Input<String> payload,
  3. 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,
});