FlagException

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:

Attributes

Companion
object
Source
FlagException.scala
Graph
Supertypes
trait NoStackTrace
class Exception
class Throwable
trait Serializable
class Object
trait Matchable
class Any
Show all
Known subtypes

Members list

Value members

Abstract methods

override def getMessage: String

Attributes

Definition Classes
Source
FlagException.scala

Inherited methods

final def addSuppressed(x$0: Throwable): Unit

Attributes

Inherited from:
Throwable
override def fillInStackTrace(): Throwable

Attributes

Definition Classes
NoStackTrace -> Throwable
Inherited from:
NoStackTrace
Source
NoStackTrace.scala

Attributes

Inherited from:
Throwable

Attributes

Inherited from:
Throwable

Attributes

Inherited from:
Throwable
final def getSuppressed(): Array[Throwable]

Attributes

Inherited from:
Throwable

Attributes

Inherited from:
Throwable

Attributes

Inherited from:
Throwable

Attributes

Inherited from:
Throwable
def printStackTrace(): Unit

Attributes

Inherited from:
Throwable
def setStackTrace(x$0: Array[StackTraceElement]): Unit

Attributes

Inherited from:
Throwable
def toString(): String

Returns a string representation of the object.

Returns a string representation of the object.

The default representation is platform dependent.

Attributes

Returns

a string representation of the object.

Inherited from:
Throwable