cause property

dynamic cause
final

An optional underlying error that caused this error.

For example, when a DescopeException.networkError is caught the cause property will usually have the object thrown by the internal http.Request call.

Implementation

final dynamic cause;