TonContractExceptionConst class
the repository of exceptions
Constructors
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- 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.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
-
incorrectOperation(
{required String expected, required String got}) → TonContractException - operation is not valid
-
invalidJson(
String name, {String? message, String? trace, Map? data}) → TonContractException - cannot parse json
-
invalidOperationId(
{Object? tag}) → TonContractException - cannot find operation from given id.
-
unknownBody(
String name, {String? message, String? trace}) → TonContractException - operation body deserialization failed.
Constants
- stateIsFrozen → const TonContractException
- stateIsInactive → const TonContractException
- contract state is not active (freez or inActive)