Pfx.pfxparse

You're seeing just the function pfxparse, go back to Pfx module for more information.

Specs

pfxparse(prefix()) :: {:ok, t()} | {:error, :einvalid}

Parses a prefix/0 and returns {:ok, Pfx.t} or {:error, :einvalid}

Link to this function

pfxparse(prefix, default)

View Source

Specs

pfxparse(prefix(), any()) :: {:ok, t()} | any()

Parses a prefix/0 and returns {:ok, Pfx.t} or given default on error.