interface AmplifyErrorParams<ErrorCode> {
    message: string;
    name: ErrorCode;
    recoverySuggestion?: string;
    underlyingError?: unknown;
}

Type Parameters

  • ErrorCode extends string = string

Properties

message: string
name: ErrorCode
recoverySuggestion?: string
underlyingError?: unknown