ApiError class

Api error.

Annotations
  • @JsonSerializable(fieldRename: FieldRename.snake)

Constructors

ApiError({String? name, String? message, String? debugId, String? informationLink, List<ApiErrorDetails>? details, List<LinkDescription>? links})
ApiError.fromJson(Map<String, dynamic> json)
factory

Properties

debugId String?
The PayPal internal ID. Used for correlation purposes.
final
details List<ApiErrorDetails>?
An array of additional details about the error.
final
hashCode int
The hash code for this object.
no setterinherited
The information link, or URI, that shows detailed information about this error for the developer.
final
An array of request-related HATEOAS links.
getter/setter pair
message String?
The message that describes the error.
final
name String?
The human-readable, unique name of the error.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
toString() String
A string representation of this object.
override

Operators

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