The pipeline stage that produced an error. Identical to the Elixir implementation's :stage atoms, so an error reads the same in both.
:stage
Optional
1-based column of a lexer/parser error.
The file the error was raised in, when the source has one.
1-based line of a lexer/parser error.
0-based offset (UTF-16 code units) of a lexer/parser error.
Static
Wraps any thrown value into a CooperError, passing an existing one through untouched, so callers only ever have one error type to catch.
CooperError
The pipeline stage that produced an error. Identical to the Elixir implementation's
:stageatoms, so an error reads the same in both.