W3cubDocs

/Pony

_ErrorPrinter

[Source]

class ref _ErrorPrinter

Constructors

_ambiguous

[Source]

new ref _ambiguous(
  matches: Array[_Option ref] ref)
: _ErrorPrinter ref^

Parameters

Returns

_unrecognised

[Source]

new ref _unrecognised(
  option: String box)
: _ErrorPrinter ref^

Parameters

Returns

_invalid

[Source]

new ref _invalid(
  argument: String box,
  option: _Option ref)
: _ErrorPrinter ref^

Parameters

Returns

_missing

[Source]

new ref _missing(
  option: _Option ref)
: _ErrorPrinter ref^

Parameters

Returns

Public Functions

reason

[Source]

fun box reason()
: (UnrecognisedOption val | MissingArgument val | InvalidArgument val | 
    AmbiguousMatch val)

Returns

report

[Source]

fun box report(
  out: OutStream tag)
: None val

Parameters

Returns

© 2016-2018, The Pony Developers
© 2014-2015, Causality Ltd.
Licensed under the BSD 2-Clause License.
https://stdlib.ponylang.io/options-_ErrorPrinter