PreventativeErrors

parsley.errors.patterns$.PreventativeErrors
final implicit class PreventativeErrors[P, A](p: P)(implicit con: P => Parsley[A])

Attributes

Source
patterns.scala
Graph
Supertypes
class Object
trait Matchable
class Any

Members list

Value members

Concrete methods

def preventWith(err: ErrorGen[A], labels: String*): Parsley[Unit]

Attributes

Source
patterns.scala
def preventativeExplain(reason: A => String, labels: String*): Parsley[Unit]

Attributes

Source
patterns.scala
def preventativeExplain(reason: String, labels: String*): Parsley[Unit]

Attributes

Source
patterns.scala
def preventativeFail(msggen: A => Seq[String]): Parsley[Unit]

Attributes

Source
patterns.scala
def preventativeFail(msg0: String, msgs: String*): Parsley[Unit]

Attributes

Source
patterns.scala