MCPcopy Create free account
hub / github.com/ChromeDevTools/devtools-frontend / serverError

Function serverError

front_end/testing/MockScopeChain.ts:405–412  ·  view source on GitHub ↗
(message: string)

Source from the content-addressed store, hash-verified

403}
404
405function serverError(message: string): {error: ProtocolClient.CDPConnection.CDPError} {
406 return {
407 error: {
408 code: ProtocolClient.CDPConnection.CDPErrorStatus.SERVER_ERROR,
409 message,
410 }
411 };
412}

Callers 3

Calls

no outgoing calls

Tested by

no test coverage detected