Error

cats.parse.Parser$.Error$
See theError companion class
object Error extends AbstractFunction2[Int, NonEmptyList[Expectation], Error], Serializable

Attributes

Companion
class
Source
Parser.scala
Graph
Supertypes
trait Serializable
class AbstractFunction2[Int, NonEmptyList[Expectation], Error]
trait (Int, NonEmptyList[Expectation]) => Error
class Object
trait Matchable
class Any
Show all
Self type
Error.type

Members list

Value members

Concrete methods

def apply(failedAtOffset: Int, expected: NonEmptyList[Expectation]): Error

Attributes

Source
Parser.scala
def apply(input: String, failedAtOffset: Int, expected: NonEmptyList[Expectation]): Error

Attributes

Source
Parser.scala
def unapply(error: Error): Option[(Int, NonEmptyList[Expectation])]

Attributes

Source
Parser.scala

Inherited methods

def curried: T1 => T2 => R

Attributes

Inherited from:
Function2
override def toString(): String

Returns a string representation of the object.

Returns a string representation of the object.

The default representation is platform dependent.

Attributes

Returns

a string representation of the object.

Definition Classes
Function2 -> Any
Inherited from:
Function2
def tupled: ((T1, T2)) => R

Attributes

Inherited from:
Function2

Implicits

Implicits

implicit val catsShowError: Show[Error]

Attributes

Source
Parser.scala