object
QParams
Type Members
-
case class
Fail[E](name: String, error: E) extends Product with Serializable
-
type
Log[E] = List[Fail[E]]
-
type
QueryFn[E, A] = (Map, Option[String], Log[E]) ⇒ (Option[String], Log[E], A)
-
case class
QueryM[E, A](exec: QueryFn[E, A]) extends Product with Serializable
-
type
QueryResult[E, A] = Either[Log[E], A]
-
case class
QueryResultX[E, A](r: QueryResult[E, A]) extends Product with Serializable
-
type
Report[E, A] = Either[E, Option[A]]
-
type
Reporter[E, A, B] = (Option[A]) ⇒ Report[E, B]
Value Members
-
final
def
!=(arg0: Any): Boolean
-
final
def
##(): Int
-
final
def
==(arg0: Any): Boolean
-
final
def
asInstanceOf[T0]: T0
-
def
clone(): AnyRef
-
final
def
eq(arg0: AnyRef): Boolean
-
def
equals(arg0: Any): Boolean
-
def
even[E](e: (Int) ⇒ E): Reporter[E, Int, Int]
-
def
external[E, A](key: String, value: Option[A]): QueryM[E, Option[A]]
-
def
finalize(): Unit
-
final
def
getClass(): Class[_]
-
def
hashCode(): Int
-
def
ignore[E, A, B](f: (Option[A]) ⇒ Option[B]): Reporter[E, A, B]
-
def
int[E](e: (String) ⇒ E): Reporter[E, String, Int]
-
final
def
isInstanceOf[T0]: Boolean
-
def
long[E](e: (String) ⇒ E): Reporter[E, String, Long]
-
def
lookup[E](key: String): QueryM[E, Option[String]]
-
final
def
ne(arg0: AnyRef): Boolean
-
def
nonempty[E](e: E): Reporter[E, String, String]
-
final
def
notify(): Unit
-
final
def
notifyAll(): Unit
-
def
odd[E](e: (Int) ⇒ E): Reporter[E, Int, Int]
-
def
optional[E, A](xs: Option[A]): Report[E, Option[A]]
-
def
pred[E, A](p: (A) ⇒ Boolean, err: (A) ⇒ E): Reporter[E, A, A]
-
implicit
def
queryOrElse[E, A](r: QueryResult[E, A]): QueryResultX[E, A]
-
def
required[E, A](err: E): Reporter[E, A, A]
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
-
def
toString(): String
-
def
trimmed[E]: Reporter[E, String, String]
-
final
def
wait(): Unit
-
final
def
wait(arg0: Long, arg1: Int): Unit
-
final
def
wait(arg0: Long): Unit
-
def
watch[E, A, B](c: (Option[A]) ⇒ Option[B], err: (A) ⇒ E): Reporter[E, A, B]
Inherited from AnyRef
Inherited from Any
Fined-grained error reporting for arbitrarily many failing parameters. Import QParams._ to use; see ParamsSpec for examples.
(Since version 0.8.3) This validation scheme is deprecated, use Directives instead