Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DifLogError ¶
func NewDifLogError ¶
func NewDifLogError(code ErrorCode, message string, err error) *DifLogError
func (*DifLogError) Error ¶
func (e *DifLogError) Error() string
func (*DifLogError) Unwrap ¶
func (e *DifLogError) Unwrap() error
type ErrorCode ¶
type ErrorCode string
const ( ErrNotInitialized ErrorCode = "NOT_INITIALIZED" ErrAlreadyInitialized ErrorCode = "ALREADY_INITIALIZED" ErrNoStagedContexts ErrorCode = "NO_STAGED_CONTEXTS" ErrContextNotFound ErrorCode = "CONTEXT_NOT_FOUND" ErrCommitNotFound ErrorCode = "COMMIT_NOT_FOUND" ErrBranchNotFound ErrorCode = "BRANCH_NOT_FOUND" ErrBranchExists ErrorCode = "BRANCH_EXISTS" ErrRemoteNotSet ErrorCode = "REMOTE_NOT_SET" ErrAIToolNotDetected ErrorCode = "AI_TOOL_NOT_DETECTED" ErrStorageFailure ErrorCode = "STORAGE_FAILURE" ErrHashingFailure ErrorCode = "HASHING_FAILURE" ErrRemoteFailure ErrorCode = "REMOTE_FAILURE" ErrInvalidArgument ErrorCode = "INVALID_ARGUMENT" )
Click to show internal directories.
Click to hide internal directories.