errno

package
v0.1.43 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 15, 2022 License: GPL-3.0 Imports: 0 Imported by: 25

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Error

type Error uint32
const (
	ErrorNone Error = iota
	ErrorEventNotFound
	ErrorBufferTooSmall
	ErrorAddressOutOfMemory
	ErrorNilAddress
	ErrorHttpWrite
	ErrorHttpReadBody
	ErrorCloseBody
	ErrorEOF
	ErrorReadHeaders
	ErrorClientNotFound
	ErrorParseUrlFailed
	ErrorMemoryWriteFailed
	ErrorHttpRequestFailed
	ErrorInvalidMethod
	ErrorNewRequestFailed
	ErrorHeaderNotFound
	ErrorHttpWriteBodyFailed
	ErrorCidNotFoundOnIpfs
	ErrorInvalidCid
	ErrorSubscribeFailed
	ErrorPublishFailed
	ErrorDatabaseCreateFailed
	ErrorDatabaseGetFailed
	ErrorDatabasePutFailed
	ErrorDatabaseNotFound
	ErrorDatabaseDeleteFailed
	ErrorDatabaseListFailed
	ErrorKeystoreCreateFailed
	ErrorDatabaseKeyNotFound
	ErrorKeystoreNotFound
	ErrorAddFileFailed
	ErrorGetFileFailed
	ErrorDeleteFileFailed
	ErrorCloseFileFailed
	ErrorFileNameNotFound
	ErrorListFileVersionsFailed
	ErrorListingUsedSpaceFailed
	ErrorGetWebSocketURLFailed
	ErrorByteConversionFailed
	ErrorChannelNotFound
	ErrorNewStreamFailed
	ErrorCommandCreateFailed
	ErrorP2PSendFailed
	ErrorP2PCommandNotFound
	ErrorP2PProtocolNotFound
	ErrorP2PFromNotFound
	ErrorP2PToNotFound
	ErrorP2PListenFailed
	ErrorMarshalDataFailed
	ErrorZeroSize
	ErrorEthereumNewClient
	ErrorEthereumBlockNotFound
	ErrorEthereumChainIdNotFound
	ErrorEthereumInvalidHexKey
	ErrorEthereumNonceNotFound
	ErrorEthereumGasPriceNotFound
	ErrorEthereumGasTipCapNotFound
	ErrorEthereumGasFeeCapNotFound
	ErrorEthereumGasNotFound
	ErrorEthereumValueNotFound
	ErrorEthereumDataNotFound
	ErrorEthereumAddressNotFound
	ErrorEthereumChainNotFound
	ErrorEthereumHashNotFound
	ErrorEthereumTransactionNotFound
	ErrorEthereumSendTransactionFailed
	ErrorEthereumMarshalJSON
	ErrorEthereumMethodNotSupported
	ErrorConvertibleConversionFailed
	ErrorEthereumContractNotFound
	ErrorEthereumParsingAbiFailed
	ErrorEthereumParsingECDSAFailed
	ErrorEthereumBindTransactorFailed
	ErrorEthereumCallContractFailed
	ErrorEthereumParseInputTypeFailed
	ErrorEthereumParseOutputTypeFailed
	ErrorEthereumContractMethodNotFound
	ErrorEthereumInvalidContractMethodInput
	ErrorEthereumInvalidContractMethodOutput
	ErrorEthereumUnsupportedDataType
	ErrorEthereumCannotCallPaidMutatorTransaction
	ErrorEthereumCannotTransactFreeMethod
	ErrorEthereumTransactMethodFailed
	ErrorEthereumDeployFailed
	ErrorEthereumSignFailed
	ErrorEthereumInvalidPublicKey
	ErrorEthereumRecoverPubKeyFailed
	ErrorSizeMismatch
	ErrorStorageGetMetaFailed
	ErrorAddFileToIpfsFailed
	ErrorStorageNotFound
	ErrorStorageListFailed
	ErrorCreatingNewFile
	ErrorWritingFile
	ErrorContentNotFound
	ErrorReadingFile
	ErrorInvalidWhence
	ErrorSeekingFile
	ErrorCidNotFound
	ErrorResolverNotFound
	ErrorFailedTxTLookup
	ErrorFailedAddressLookup
	ErrorFailedCNAMELookup
	ErrorFailedMXLookup
	ErrorCachedResponseTypeNotFound
	ErrorCachedResponseNotFound
	SmartOpErrorResourceNotFound
	SmartOpErrorWrongResourceInterface
	ErrorRandRead
	ErrorCap
)

When adding new errno, make sure to add to the string list

func (Error) String

func (e Error) String() string

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL