Mint.WebSocket.UpgradeFailureError exception (MintWebSocket v1.0.5)

View Source

An error representing a failure to upgrade protocols from HTTP to WebSocket

Summary

Functions

Callback implementation for Exception.message/1.

Types

t()

@type t() :: %Mint.WebSocket.UpgradeFailureError{
  __exception__: true,
  headers: [Mint.Types.headers()],
  status_code: Mint.Types.status()
}

Functions

message(error)

Callback implementation for Exception.message/1.