{"modulePath":"github.com/MinterTeam/explorer-gate","version":"v1.2.9","isLatest":true,"isStandardLibrary":false,"goos":"all","goarch":"all","docs":"# package errors\n\n## Functions\n\n```go\nfunc GetNodeErrorFromResponse(r *responses.SendTransactionResponse) error\n```\n\n```go\nfunc NewInsufficientFundsError(text string, code int32, val string, coin string) error\n```\n\n```go\nfunc NewMaximumValueToSellReachedError(text string, code int32, want string, need string) error\n```\n\n```go\nfunc NewNodeError(text string, code int32) error\n```\nNew returns an error that formats as the given text.\n\n```go\nfunc NewNodeTimeOutError(text string, code int32) error\n```\nNew returns an error that formats as the given text.\n\n```go\nfunc SetErrorResponse(err error, c *gin.Context)\n```\n\n## Types\n\n```go\ntype InsufficientFundsError struct {\n\t// contains filtered or unexported fields\n}\n```\n\n```go\nfunc (e *InsufficientFundsError) Code() int32\n```\n\n```go\nfunc (e *InsufficientFundsError) Coin() string\n```\n\n```go\nfunc (e *InsufficientFundsError) Error() string\n```\n\n```go\nfunc (e *InsufficientFundsError) Value() string\n```\n\n```go\ntype MaximumValueToSellReachedError struct {\n\t// contains filtered or unexported fields\n}\n```\n\n```go\nfunc (e *MaximumValueToSellReachedError) Code() int32\n```\n\n```go\nfunc (e *MaximumValueToSellReachedError) Error() string\n```\n\n```go\nfunc (e *MaximumValueToSellReachedError) Need() string\n```\n\n```go\nfunc (e *MaximumValueToSellReachedError) Want() string\n```\n\n```go\ntype NodeError struct {\n\t// contains filtered or unexported fields\n}\n```\n\n```go\nfunc (e *NodeError) Code() int32\n```\n\n```go\nfunc (e *NodeError) Error() string\n```\n\n```go\ntype NodeTimeOutError struct {\n\t// contains filtered or unexported fields\n}\n```\n\n```go\nfunc (e *NodeTimeOutError) Code() int32\n```\n\n```go\nfunc (e *NodeTimeOutError) Error() string\n```\n\n","path":"github.com/MinterTeam/explorer-gate/errors","name":"errors","synopsis":"","isRedistributable":true}
