Attributes
- Companion
- class
- Source
- FlagException.scala
- Graph
-
- Supertypes
- Self type
-
FlagException.type
Members list
Type members
Classlikes
Thrown when a flag name is registered more than once in the global registry.
Thrown when a flag name is registered more than once in the global registry.
Thrown by StaticFlag and DynamicFlag when a second object with an identical derived name attempts to register itself.
Value parameters
- flagName
-
the duplicated flag name
Attributes
- Source
- FlagException.scala
- Supertypes
-
trait Producttrait Equalsclass FlagExceptiontrait NoStackTraceclass Exceptionclass Throwabletrait Serializableclass Objecttrait Matchableclass AnyShow all
Thrown when the rollout expression associated with a named flag cannot be parsed.
Thrown when the rollout expression associated with a named flag cannot be parsed.
Thrown by DynamicFlag during object initialisation when the initial rollout expression (from a FlagSource, system property, environment variable, or constructor default) is malformed.
Value parameters
- details
-
human-readable description of the parse failure
- expression
-
the raw expression string that could not be parsed
- flagName
-
the name of the flag whose expression is malformed
Attributes
- Source
- FlagException.scala
- Supertypes
-
trait Producttrait Equalsclass FlagExceptiontrait NoStackTraceclass Exceptionclass Throwabletrait Serializableclass Objecttrait Matchableclass AnyShow all
Thrown when a flag name fails structural validation (e.g. the defining class is not a Scala object, or is a lambda / anonymous class).
Thrown when a flag name fails structural validation (e.g. the defining class is not a Scala object, or is a lambda / anonymous class).
Thrown by StaticFlag and DynamicFlag during object initialisation when the runtime class name does not conform to the expected Scala object naming convention.
Value parameters
- details
-
human-readable explanation of the validation failure
- flagName
-
the class name that was rejected
Attributes
- Source
- FlagException.scala
- Supertypes
-
trait Producttrait Equalsclass FlagExceptiontrait NoStackTraceclass Exceptionclass Throwabletrait Serializableclass Objecttrait Matchableclass AnyShow all
Thrown when a raw flag value string cannot be parsed into the expected type.
Thrown when a raw flag value string cannot be parsed into the expected type.
Thrown by StaticFlag during object initialisation when the value supplied via a FlagSource, system property, or environment variable cannot be parsed by the flag's Flag.Reader.
Value parameters
- cause
-
optional underlying parse exception
- expectedType
-
human-readable name of the type that was expected
- flagName
-
the name of the flag whose value failed to parse
- rawValue
-
the raw string that was provided
Attributes
- Source
- FlagException.scala
- Supertypes
-
trait Producttrait Equalsclass FlagExceptiontrait NoStackTraceclass Exceptionclass Throwabletrait Serializableclass Objecttrait Matchableclass AnyShow all
Inherited and Abstract types
The names of the product elements.
The name of the type.