Documentation ¶
Index ¶
Constants ¶
View Source
const ( ConnectionClosed = Code(iota) UnableToOpenConnection ConnectionCloseError DatabaseClosed DatabaseCloseError OperationNotSupported OperationNotPermitted UnableToListDatabases InvalidDatabaseName DatabaseAlreadyExists DatabaseDoesNotExist UnableToCreateDatabase UnableToDeleteDatabase UnableToConnectToDatabase UnableToListTables InvalidTableName CreateTableError DeleteTableError TableDoesNotExist UnableToConnectToTable TableClosed TableCloseError DescribeError CountError InsertError UpdateError SelectError LimitOutOfRange DeleteError TemplateFailsToValidate SelectorFailsToValidate ConditionFailsToValidate SortFailsToValidate ReplacementFailsToValidate RecordFailsToValidate RecordUnsupportedType RecordMalformedKey RecordUnableToDecodeValue RecordUnableToEncodeValue RecordUnableToConvertType IterationNotStarted IterationError IterationFinished IterationCloseError ListIndexError InvalidKey AddIndexError DeleteIndexError AddKeyError DeleteKeyError RenameTableError )
The valid error codes.
Variables ¶
This section is empty.
Functions ¶
func ShouldWrap ¶
ShouldWrap returns true if e satisfies all of the following:
- e is not nil;
- e is not equal to io.EOF;
- e is not equal to one of context.Canceled or context.DeadlineExceeded;
- e is does not satisfy the Error interface.
Types ¶
Click to show internal directories.
Click to hide internal directories.