ArgDecoder

com.geirolz.app.toolkit.ArgDecoder$
See theArgDecoder companion trait
object ArgDecoder

Attributes

Companion
trait
Graph
Supertypes
class Object
trait Matchable
class Any
Self type
ArgDecoder.type

Members list

Type members

Classlikes

Attributes

Companion
trait
Supertypes
trait Sum
trait Mirror
class Object
trait Matchable
class Any
Self type
sealed trait ArgDecodingError

Attributes

Companion
object
Supertypes
class Object
trait Matchable
class Any
Known subtypes
case class ArgDecodingException(cause: Throwable) extends ArgDecodingError

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
case class MissingArgAtIndex(idx: Int) extends ArgDecodingError

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
case class MissingVariable(name: String) extends ArgDecodingError

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Value members

Concrete methods

def apply[T : ArgDecoder]: ArgDecoder[T]
def fromTry[T](t: String => Try[T]): ArgDecoder[T]

Implicits

Implicits

implicit val bigDecimalDecoder: ArgDecoder[BigDecimal]
implicit val bigIntDecoder: ArgDecoder[BigInt]
implicit val booleanDecoder: ArgDecoder[Boolean]
implicit val byteDecoder: ArgDecoder[Byte]
implicit val charDecoder: ArgDecoder[Char]
implicit val doubleDecoder: ArgDecoder[Double]
implicit val floatDecoder: ArgDecoder[Float]
implicit val intDecoder: ArgDecoder[Int]
implicit val longDecoder: ArgDecoder[Long]
implicit val shortDecoder: ArgDecoder[Short]
implicit val stringDecoder: ArgDecoder[String]