FlagNameException
zio.blocks.config.FlagException.FlagNameException
final case class FlagNameException(flagName: String, details: String) extends FlagException
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
- Graph
-
- Supertypes
-
trait Producttrait Equalsclass FlagExceptiontrait NoStackTraceclass Exceptionclass Throwabletrait Serializableclass Objecttrait Matchableclass AnyShow all
Members list
Value members
Concrete methods
Attributes
- Definition Classes
- Source
- FlagException.scala
Inherited methods
Attributes
- Inherited from:
- Throwable
Attributes
- Definition Classes
-
NoStackTrace -> Throwable
- Inherited from:
- NoStackTrace
- Source
- NoStackTrace.scala
Attributes
- Inherited from:
- Throwable
Attributes
- Inherited from:
- Throwable
Attributes
- Inherited from:
- Throwable
Attributes
- Inherited from:
- Throwable
Attributes
- Inherited from:
- Throwable
Attributes
- Inherited from:
- Throwable
An iterator over the names of all the elements of this product.
An iterator over the names of all the elements of this product.
Attributes
- Inherited from:
- Product
- Source
- Product.scala
An iterator over all the elements of this product.
An iterator over all the elements of this product.
Attributes
- Returns
-
in the default implementation, an
Iterator[Any] - Inherited from:
- Product
- Source
- Product.scala
Attributes
- Inherited from:
- Throwable
In this article