W3cubDocs

/Pony

SyntaxError

[Source]

SyntaxError summarizes a syntax error in a given parsed command line.

class val SyntaxError

Constructors

create

[Source]

new val create(
  token': String val,
  msg': String val)
: SyntaxError val^

Parameters

Returns

Public Functions

token

[Source]

fun box token()
: String val

Returns

string

[Source]

fun box string()
: String val

Returns

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