PfxError.new

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

Specs

new(atom(), any()) :: t()

Create a PfxError struct.

Example

iex> new(:func_x, "1.1.1.256")
%PfxError{reason: :func_x, data: "1.1.1.256"}