object ParserError

Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. ParserError
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Type Members

  1. final case class AllBranchesFailed[Err](left: ParserError[Err], right: ParserError[Err]) extends ParserError[Err] with Product with Serializable

    All branches failed in a sequence of orElse or orElseEither parsers.

    All branches failed in a sequence of orElse or orElseEither parsers.

    Every failed branch's failure is preserved.

  2. final case class Failure[Err](nameStack: List[String], position: Int, failure: Err) extends ParserError[Err] with Product with Serializable

    User-defined parser error of type 'Err'

    User-defined parser error of type 'Err'

    Err

    Failure type

    nameStack

    Stack of named parsers until reaching the failure

    position

    Input stream position

    failure

    The custom failure

  3. final case class NotConsumedAll[Err](lastFailure: Option[ParserError[Err]]) extends ParserError[Err] with Product with Serializable

    The parser was supposed to consume the full input but it did not.

    The parser was supposed to consume the full input but it did not.

    lastFailure

    the last encountered failure, if any

  4. final case class UnknownFailure(nameStack: List[String], position: Int) extends ParserError[Nothing] with Product with Serializable

    Unknown parser error.

    Unknown parser error. This is only produced in exceptional cases that should not happen, for example if the unsafe regex variants encounter an error.

    nameStack

    Stack of named parsers until reaching the failure

    position

    Input stream position

Value Members

  1. case object UnexpectedEndOfInput extends ParserError[Nothing] with Product with Serializable

    The input stream ended before the parser finished