HttpErrors class
Methods
-
map<TResult extends Object?>({required TResult badGateWay(_BadGateWay value), required TResult internalServiceError(_InternalServiceError value), required TResult removedResourceFound(_RemovedResourceFound value), required TResult resourceForbidden(_ResourceForbidden value), required TResult resourceNotFound(_ResourceNotFound value), required TResult resourceRemoved(_ResourceRemoved value)})
→ TResult
-
inherited
-
mapOrNull<TResult extends Object?>({TResult badGateWay(_BadGateWay value)?, TResult internalServiceError(_InternalServiceError value)?, TResult removedResourceFound(_RemovedResourceFound value)?, TResult resourceForbidden(_ResourceForbidden value)?, TResult resourceNotFound(_ResourceNotFound value)?, TResult resourceRemoved(_ResourceRemoved value)?})
→ TResult?
-
inherited
-
maybeMap<TResult extends Object?>({TResult badGateWay(_BadGateWay value)?, TResult internalServiceError(_InternalServiceError value)?, TResult removedResourceFound(_RemovedResourceFound value)?, TResult resourceForbidden(_ResourceForbidden value)?, TResult resourceNotFound(_ResourceNotFound value)?, TResult resourceRemoved(_ResourceRemoved value)?, required TResult orElse()})
→ TResult
-
inherited
-
maybeWhen<TResult extends Object?>({TResult badGateWay(String? exception)?, TResult internalServiceError(String? exception)?, TResult removedResourceFound(String? exception)?, TResult resourceForbidden(String? exception)?, TResult resourceNotFound(String? exception)?, TResult resourceRemoved(String? exception)?, required TResult orElse()})
→ TResult
-
inherited
-
noSuchMethod(Invocation invocation)
→ dynamic
-
Invoked when a nonexistent method or property is accessed.
inherited
-
toString()
→ String
-
A string representation of this object.
inherited
-
when<TResult extends Object?>({required TResult badGateWay(String? exception), required TResult internalServiceError(String? exception), required TResult removedResourceFound(String? exception), required TResult resourceForbidden(String? exception), required TResult resourceNotFound(String? exception), required TResult resourceRemoved(String? exception)})
→ TResult
-
inherited
-
whenOrNull<TResult extends Object?>({TResult badGateWay(String? exception)?, TResult internalServiceError(String? exception)?, TResult removedResourceFound(String? exception)?, TResult resourceForbidden(String? exception)?, TResult resourceNotFound(String? exception)?, TResult resourceRemoved(String? exception)?})
→ TResult?
-
inherited