Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
Index your code
hub
/
github.com/aws/aws-lambda-go
/ Error
Method
Error
lambda/rpc_function_test.go:93–93 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
91
type
CustomError
struct
{}
92
93
func
(e CustomError) Error() string {
return
"Something bad happened!"
}
94
95
func
TestCustomError(t *testing.T) {
96
srv := NewFunction(testWrapperHandler(
Callers
13
TestPanicFormattingCustomError
Function · 0.95
lambdaWrapWithClient
Function · 0.45
TestRequestForbidden
Function · 0.45
safeMarshal
Function · 0.45
TestRuntimeAPILoopWithConcurrencyPanic
Function · 0.45
TestInvokes
Function · 0.45
TestInvalidJsonInput
Function · 0.45
TestHandlerTrace
Function · 0.45
TestClientNext
Function · 0.45
TestInvalidRequestsForMalformedEndpoint
Function · 0.45
TestStatusCodes
Function · 0.45
lambdaErrorResponse
Function · 0.45
Calls
no outgoing calls
Tested by
no test coverage detected