InvalidSchemaVer

case object InvalidSchemaVer extends ParseError

The schema version appears to be invalid.

A valid schema version consists of MODEL, REVISION and ADDITION, separated by dashes, eg 1-0-0.

Partial versions are allowed, which only specify the MODEL and / or REVISION, eg 1-?-? or 1-0-?.

Zeroes cannot be prepended to any component, so this is not allowed: 01-01-01.

A full schema version must match the following regex:

"^([1-9][0-9]*)-(0|[1-9][0-9]*)-(0|[1-9][0-9]*)$"

.

A partial schema version must match the following regex:

"^([1-9][0-9]*|\\?)-((?:0|[1-9][0-9]*)|\\?)-((?:0|[1-9][0-9]*)|\\?)$"

.

"^([1-9][0-9]|\?)-((?:0|[1-9][0-9])|\?)-((?:0|[1-9][0-9]*)|\?)$" }}}

"^([1-9][0-9])-(0|[1-9][0-9])-(0|[1-9][0-9]*)$" }}}

A partial schema version must match the following regex:

"^([1-9][0-9]*|\\?)-((?:0|[1-9][0-9]*)|\\?)-((?:0|[1-9][0-9]*)|\\?)$"

.

"^([1-9][0-9]|\?)-((?:0|[1-9][0-9])|\?)-((?:0|[1-9][0-9]*)|\?)$" }}}

trait Singleton
trait Product
trait Mirror
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any

Type members

Inherited types

type MirroredElemLabels = EmptyTuple

The names of the product elements

The names of the product elements

Inherited from:
Singleton
type MirroredElemTypes = EmptyTuple
Inherited from:
Singleton
type MirroredLabel <: String

The name of the type

The name of the type

Inherited from:
Mirror
type MirroredMonoType = Singleton.this.type

The mirrored *-type

The mirrored *-type

Inherited from:
Singleton
type MirroredType = Singleton.this.type
Inherited from:
Singleton

Value members

Concrete methods

def code: String
def message(str: String): String

Inherited methods

def fromProduct(p: Product): MirroredMonoType

Create a new instance of type T with elements taken from product p.

Create a new instance of type T with elements taken from product p.

Inherited from:
Singleton
def productElementNames: Iterator[String]
Inherited from:
Product
def productIterator: Iterator[Any]
Inherited from:
Product