package
1.0.0-rc.12
Repository: https://github.com/nspcc-dev/neofs-sdk-go.git
Documentation: pkg.go.dev
# Functions
ErrorFromV2 converts [status.Status] message structure to error.
ErrorToV2 converts error to status.Status message structure.
WriteInternalServerErr writes err message to ServerInternal instance.
# Variables
ErrContainerNotFound is an instance of ContainerNotFound error status.
ErrEACLNotFound is an instance of EACLNotFound error status.
ErrLockNonRegularObject is an instance of LockNonRegularObject error status.
ErrNodeUnderMaintenance is an instance of NodeUnderMaintenance error status.
ErrObjectAccessDenied is an instance of ObjectAccessDenied error status.
ErrObjectAlreadyRemoved is an instance of ObjectAlreadyRemoved error status.
ErrObjectLocked is an instance of ObjectLocked error status.
ErrObjectNotFound is an instance of ObjectNotFound error status.
ErrObjectOutOfRange is an instance of ObjectOutOfRange error status.
Error describes common error which is a grouping type for any [apistatus] errors.
ErrServerInternal is an instance of ServerInternal error status.
ErrSessionTokenExpired is an instance of SessionTokenExpired error status.
ErrSessionTokenNotFound is an instance of SessionTokenNotFound error status.
ErrSignatureVerification is an instance of SignatureVerification error status.
ErrUnrecognizedStatusV2 is an instance of UnrecognizedStatusV2 error status.
ErrWrongMagicNumber is an instance of WrongMagicNumber error status.
# Structs
ContainerNotFound describes status of the failure because of the missing container.
EACLNotFound describes status of the failure because of the missing eACL table.
LockNonRegularObject describes status returned on locking the non-regular object.
NodeUnderMaintenance describes failure status for nodes being under maintenance.
ObjectAccessDenied describes status of the failure because of the access control violation.
ObjectAlreadyRemoved describes status of the failure because object has been already removed.
ObjectLocked describes status of the failure because of the locked object.
ObjectNotFound describes status of the failure because of the missing object.
ObjectOutOfRange describes status of the failure because of the incorrect provided object ranges.
ServerInternal describes failure statuses related to internal server errors.
SessionTokenExpired describes status of the failure because of the expired session token.
SessionTokenNotFound describes status of the failure because of the missing session token.
SignatureVerification describes failure status related to signature verification.
UnrecognizedStatusV2 describes status of the uncertain failure.
WrongMagicNumber describes failure status related to incorrect network magic.
# Interfaces
StatusV2 defines a variety of status instances compatible with NeoFS API V2 protocol.