MCPcopy Index your code
hub / github.com/coder/coder / Error

Method Error

coderd/httpapi/httperror/responserror.go:56–58  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

54)
55
56func (e *responseError) Error() string {
57 return fmt.Sprintf("%s: %s", e.response.Message, e.response.Detail)
58}
59
60func (e *responseError) Status() int {
61 return e.status

Callers 15

InternalServerErrorFunction · 0.45
ReadFunction · 0.45
TestInternalServerErrorFunction · 0.45
TestHeartbeatCloseFunction · 0.45
heartbeatCloseWithFunction · 0.45
TestDurationFunction · 0.45
UIntMethod · 0.45
IntMethod · 0.45
Int64Method · 0.45
PositiveInt32Method · 0.45
PositiveInt64Method · 0.45
NullableBooleanMethod · 0.45

Calls

no outgoing calls

Tested by 3

TestInternalServerErrorFunction · 0.36
TestHeartbeatCloseFunction · 0.36
TestDurationFunction · 0.36