Matches

final case
class Matches(regex: Regex) extends Text
trait Serializable
trait Product
trait Equals
class Text
class Validation[String, Unit]
class Object
trait Matchable
class Any

Value members

Concrete methods

def error(input: String): Error
override
def errors(input: String): List[Error]
Definition Classes
override
def run(input: String): Validated[NonEmptyList[Error], Unit]
Definition Classes

Inherited methods

final
def andThen[T](validation: Validation[Unit, T]): Validation[String, T]
Inherited from
Validation
final
def collect[T](f: PartialFunction[Unit, T]): Validation[String, T]
Inherited from
Validation
final
def map[T](f: Unit => T): Validation[String, T]
Inherited from
Validation
final
def modifyError(pf: PartialFunction[Error, Error]): Validation[String, Unit]
Inherited from
Validation
final
def modifyErrors(f: NonEmptyList[Error] => NonEmptyList[Error]): Validation[String, Unit]
Inherited from
Validation
def productElementNames: Iterator[String]
Inherited from
Product
def productIterator: Iterator[Any]
Inherited from
Product
final
def withError(error: Error): Validation[String, Unit]
Inherited from
Validation
final
def withErrors(errors: NonEmptyList[Error]): Validation[String, Unit]
Inherited from
Validation