ValidationException class

Inheritance

Constructors

ValidationException({String? msg = '', required ValidationErrors validationErrors, required RequestOptions requestOptions, Response? response, DioErrorType type = DioErrorType.other, dynamic error})

Properties

error ↔ dynamic
The original error/exception object; It's usually not null when type is DioErrorType.other
getter/setter pairinherited
hashCode int
The hash code for this object.
no setterinherited
message String
no setteroverride
msg String?
finalinherited
pigeonholeError PigeonholeError
finalinherited
requestOptions ↔ RequestOptions
Request info.
getter/setter pairinherited
response ↔ Response?
Response info, it may be null if the request can't reach to the http server, for example, occurring a dns error, network is not available.
getter/setter pairinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
stackTrace StackTrace?
getter/setter pairinherited
type ↔ DioErrorType
getter/setter pairinherited
validationErrors ValidationErrors
final

Methods

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

Operators

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