Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Error ¶
type Error struct { ErrorCode // contains filtered or unexported fields }
Error is a custom error type that implements the error interface.
type ErrorCode ¶
type ErrorCode int
ErrorCode is a custom error code type.
const ( // ErrCollectionNameIsEmpty is returned when the collection name is empty. ErrCollectionNameIsEmpty ErrorCode = 1000 + iota // ErrCollectionNameIsInvalid is returned when the collection name is invalid. ErrCollectionNameIsInvalid )
Error codes.
Click to show internal directories.
Click to hide internal directories.