AppException class

Implemented types

Constructors

AppException({String name = "AppException", required String message, String description = "", Map<String, dynamic> data = const {}, StackTrace? stackTrace})
AppException.fromDioException(DioException error)
factory
AppException.fromFormatException(FileType type)
factory
AppException.fromObject(Object error)
factory
AppException.fromShellException(ShellException error)
factory

Properties

data → Map<String, dynamic>
final
description → String
final
hashCode → int
The hash code for this object.
no setterinherited
message → String
final
name → String
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
stackTrace → StackTrace?
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

Static Methods

decodeDioExceptionMessage(DioException err) → String
decodeStatusCode(int statusCode, {String? defaultMessage}) → String
globalExceptionHandler(Object error, StackTrace stackTrace) → void
isolatedRun<T>(FutureOr<T> func()) → Future<T?>