menu
tonlib package
documentation
core/exception/failure.dart
Failure class
Failure class
dark_mode
light_mode
Failure
class
Implemented types
Exception
Constructors
Failure
({
required
String
title
,
required
String
msg
,
required
String
code
,
required
String
procedure
,
required
String
job
})
Failure.simple
({
String
?
title
,
String
?
msg
})
factory
Properties
code
→
String
final
hashCode
→
int
The hash code for this object.
no setter
inherited
job
→
String
final
msg
→
String
final
procedure
→
String
final
runtimeType
→
Type
A representation of the runtime type of the object.
no setter
inherited
title
→
String
final
Methods
copyWith
(
{
String
?
title
,
String
?
msg
,
String
?
code
,
String
?
procedure
,
String
?
job
})
→
Failure
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
tonlib package
documentation
core/exception/failure
Failure class
failure library