Failure

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

User-defined parser error of type 'Err'

Type parameters

Err

Failure type

Value parameters

failure

The custom failure

nameStack

Stack of named parsers until reaching the failure

position

Input stream position

Attributes

Graph
Supertypes
trait Serializable
trait Product
trait Equals
trait ParserError[Err]
class Object
trait Matchable
class Any
Show all

Members list

Value members

Inherited methods

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

Attributes

Inherited from:
ParserError
def map[Err2](f: Err => Err2): ParserError[Err2]

Attributes

Inherited from:
ParserError
def productElementNames: Iterator[String]

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

Attributes

Inherited from:
Product