Sippet.Message.StatusLine.default_reason-exclamation-mark

You're seeing just the function default_reason-exclamation-mark, go back to Sippet.Message.StatusLine module for more information.
Link to this function

default_reason!(status_code)

View Source

Specs

default_reason!(status_code()) :: binary() | no_return()

Returns a binary representing the default reason phrase for the given status_code.

If the status_code does not have a corresponding default reason phrase, throws an exception.

Examples

iex> Sippet.Message.StatusLine.default_reason!(202)
"Accepted"
iex> Sippet.Message.StatusLine.default_reason!(499)
** (ArgumentError) status code 499 does not have a default reason phrase