All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.twilio.guardrail.Error.scala Maven / Gradle / Ivy

The newest version!
package com.twilio.guardrail

sealed trait Error
case class MissingArg(arg: Args, name: Error.ArgName)            extends Error
case class UnknownArguments(args: List[String])                  extends Error
case class UnknownFramework(name: String)                        extends Error
case class UnparseableArgument(name: String, message: String)    extends Error
case object NoArgsSpecified                                      extends Error
case object NoFramework                                          extends Error
case object PrintHelp                                            extends Error
case class RuntimeFailure(message: String)                       extends Error
case class UserError(message: String)                            extends Error
case class UnconsumedModules(modules: List[String])              extends Error
case class MissingModule(section: String, choices: List[String]) extends Error
case class ModuleConflict(section: String)                       extends Error
object Error {
  case class ArgName(value: String) extends AnyVal
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy