Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/MarioCarrion/todo-api-microservice-example
/ Code
Method
Code
internal/errors.go:53–55 ·
view source on GitHub ↗
Code returns the code representing this error.
()
Source
from the content-addressed store, hash-verified
51
52
// Code returns the code representing this error.
53
func
(e *Error) Code() ErrorCode {
54
return
e.code
55
}
Callers
7
TestWrapErrorf
Function · 0.95
TestNewErrorf
Function · 0.95
TestErrorCode
Function · 0.95
TestTask_Create
Function · 0.95
TestTask_Delete
Function · 0.95
TestTask_Find
Function · 0.95
TestTask_Update
Function · 0.95
Calls
no outgoing calls
Tested by
7
TestWrapErrorf
Function · 0.76
TestNewErrorf
Function · 0.76
TestErrorCode
Function · 0.76
TestTask_Create
Function · 0.76
TestTask_Delete
Function · 0.76
TestTask_Find
Function · 0.76
TestTask_Update
Function · 0.76