PowerMapException class

Standard exception class for all PowerMap SDK related errors.

Provides a unified interface for handling network, API, and internal map engine failures.

Implemented types

Constructors

PowerMapException({required String code, required String message, dynamic details})

Properties

code String
Unique error code for programmatic handling (e.g., 'NETWORK_ERROR', 'AUTH_FAILED').
final
details → dynamic
Original error or additional details for debugging.
final
hashCode int
The hash code for this object.
no setterinherited
message String
Human-readable error message.
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
toString() String
A string representation of this object.
override

Operators

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

Constants

auth → const String
invalidRequest → const String
mapInternal → const String
network → const String
notFound → const String
routeNotFound → const String
serverError → const String
styleLoad → const String
unknown → const String