errno

package
v0.1.20 Latest Latest
Warning

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

Go to latest
Published: Sep 23, 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
	ErrorSizeMismatch
	ErrorStorageGetMetaFailed
	ErrorAddFileToIpfsFailed
	ErrorStorageNotFound
	ErrorStorageListFailed
	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