zio.blocks.config.FlagException
See theFlagException companion object
sealed abstract class FlagException extends Exception, NoStackTrace
Base class for all flag-related exceptions.
Extends scala.util.control.NoStackTrace so that instances are lightweight and do not capture a stack trace, which is appropriate for flag resolution errors that are diagnosed at startup rather than during request handling.
Concrete subtypes live in FlagException companion:
- FlagException.FlagValueParseException — flag value could not be parsed
- FlagException.FlagNameException — flag name is structurally invalid
- FlagException.FlagDuplicateNameException — flag name already registered
- FlagException.FlagExpressionParseException — rollout expression is malformed
Attributes
- Companion
- object
- Source
- FlagException.scala
- Graph
-
- Supertypes
-
trait NoStackTraceclass Exceptionclass Throwabletrait Serializableclass Objecttrait Matchableclass Any
- Known subtypes
-
class FlagNameExceptionclass FlagValueParseException
Members list
In this article