package
2.6.6+incompatible
Repository: https://github.com/gidyon/micro.git
Documentation: pkg.go.dev

# Functions

ConvertingType wraps error that occured during type assertion to grpc status error.
DoesExist returns status error indicating the resource does exist.
DoesNotExist returns status error indicating that the resource does not exist.
DuplicateField returns a status error for a duplicate field.
FailedToBeginTx wraps error returned from failed transaction to a status error.
FailedToCommitTx wraps error returned from failed commit of transaction to a status error.
FailedToDecrypt is status error from failed decryption operation.
FailedToDelete wraps error returned from failed delete operation to a status error.
FailedToEncrypt is status error from failed encryption operation.
FailedToExecuteTemplate returns a status error for a failed template execution.
FailedToFind wraps error returned from failed find operation to a status error.
FailedToGetToken wraps the error returned while getting token to a status error.
FailedToRollbackTx wraps error returned from failed rollback of transaction to a status error.
FailedToSave is status error returned from failed save operation.
FailedToUpdate wraps error returned from failed update operation to a status error.
FromJSONMarshal wraps error returned from json.Marshal to a status error.
FromJSONUnMarshal wraps error returned from json.Unmarshal to a status error.
FromProtoMarshal wraps error returned from proto.Marshal to a status error.
FromProtoUnMarshal wraps error returned from proto.Unmarshal to a status error.
IncorrectVal returns a status error indicating val was incorrect.
MissingField returns a status error caused by a missing message field.
NilObject is error resulting from using nil references to objects.
Panic on error.
ReadFailed returns a status error for a read operation error.
RedisCmdFailed wraps error returned from a failed redis command to a status error.
SQLQueryFailed wraps a sql query error to a status error.
TokenCredentialNotMatching creates a status error caused by mismatch in token credential.
WrapError is a wraps generic error to a status error.
WrapErrorWithCode is a wraps generic error to a status error with provided code.
WrapErrorWithCodeAndMsg wraps generic error to a status error with provided code and msg.
WrapErrorWithCodeAndMsgFunc is a common message wrapper for WrapErrorWithCodeAndMsg.
WrapErrorWithMsg is a wraps generic error to a status error with code and msg formt.
WrapErrorWithMsgFunc is a common message wrapper for WrapErrorWithMsg.
WrapMessage is a wraps message provided to a status error.
WrapMessagef is a wraps message provided to a status error.
WriteFailed returns a status error for a write operation error.