← ZIO Parser docs

UnknownFailure

zio.parser.Parser.ParserError.UnknownFailure
final case class UnknownFailure(nameStack: List[String], position: Int) extends ParserError[Nothing]

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

Value parameters

nameStack

Stack of named parsers until reaching the failure

position

Input stream position

Attributes

Source
Parser.scala
Graph
Supertypes
trait Serializable
trait Product
trait Equals
trait ParserError[Nothing]
class Object
trait Matchable
class Any
Show all

Members list

Value members

Inherited methods

def addFailedBranch[Err2](error: ParserError[Err2]): ParserError[Err2]

Attributes

Inherited from:
ParserError
Source
Parser.scala
def map[Err2](f: Nothing => Err2): ParserError[Err2]

Attributes

Inherited from:
ParserError
Source
Parser.scala

Attributes

Inherited from:
Product

Attributes

Inherited from:
Product