Documentation
¶
Index ¶
- func HasError(err []*Error, errorID string) bool
- func HasGasExhaustedError(err []*Error) bool
- func HasParametersError(err []*Error) bool
- func HasScriptRejectedError(err []*Error) bool
- func LoadErrorDescriptions() (err error)
- type BalanceTooLowError
- type DefaultError
- type Description
- type Error
- type Errors
- type IError
- type InvalidSyntacticConstantError
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func HasScriptRejectedError ¶
HasScriptRejectedError -
Types ¶
type BalanceTooLowError ¶
type BalanceTooLowError struct {
DefaultError
Balance int64 `json:"balance,string"`
Amount int64 `json:"amount,string"`
}
BalanceTooLowError -
type DefaultError ¶
type DefaultError struct {
Location int64 `json:"location,omitempty"`
With stdJSON.RawMessage `json:"with,omitempty"`
}
DefaultError -
type Description ¶
Description -
type Error ¶
type Error struct {
ID string `json:"id"`
Kind string `json:"kind"`
Title string `json:"title,omitempty"`
Description string `json:"descr,omitempty"`
IError `json:"-"`
}
Error -
type Errors ¶
type Errors []*Error
Errors -
type InvalidSyntacticConstantError ¶
type InvalidSyntacticConstantError struct {
WrongExpressionSnake stdJSON.RawMessage `json:"wrong_expression"`
ExpectedFormSnake stdJSON.RawMessage `json:"expected_form"`
WrongExpressionCamel stdJSON.RawMessage `json:"wrongExpression"`
ExpectedFormCamel stdJSON.RawMessage `json:"expectedForm"`
}
InvalidSyntacticConstantError -
func (*InvalidSyntacticConstantError) Format ¶
func (e *InvalidSyntacticConstantError) Format() error
Format -
func (*InvalidSyntacticConstantError) String ¶
func (e *InvalidSyntacticConstantError) String() string
String -
Click to show internal directories.
Click to hide internal directories.