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

Method Error

ws_js.go:503–505  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

501}
502
503func (ce CloseError) Error() string {
504 return fmt.Sprintf("status = %v and reason = %q", ce.Code, ce.Reason)
505}
506
507// CloseStatus is a convenience wrapper around Go 1.13's errors.As to grab
508// the status code from a CloseError.

Callers 1

ReadMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected