KumihoError class

Base exception class for all Kumiho errors.

All custom exceptions raised by the Kumiho SDK inherit from this class, making it easy to catch all Kumiho-related errors.

try {
  final project = await kumiho.getProject('nonexistent');
} on KumihoError catch (e) {
  print('Kumiho error: $e');
}
Implemented types

Constructors

KumihoError(String message)
Creates a new KumihoError with the given message.
const

Properties

hashCode int
The hash code for this object.
no setterinherited
message String
The 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