com.twilio.guardrail.Error.scala Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of guardrail_2.12 Show documentation
Show all versions of guardrail_2.12 Show documentation
Principled code generation for Scala services from OpenAPI specifications
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