org.typelevel.otel4s.sdk.trace.data.StatusData
See theStatusData companion class
object StatusData
Attributes
- Companion
- class
- Source
- StatusData.scala
- Graph
-
- Supertypes
- Self type
-
StatusData.type
Members list
Type members
Classlikes
final case class Error(description: Option[String]) extends StatusData
Indicates an occurred error.
Indicates an occurred error.
Attributes
- Source
- StatusData.scala
- Supertypes
-
trait Serializabletrait Producttrait Equalsclass StatusDataclass Objecttrait Matchableclass AnyShow all
case object Ok extends StatusData
Indicates the successfully completed operation, validated by an application developer or operator.
Indicates the successfully completed operation, validated by an application developer or operator.
Attributes
- Source
- StatusData.scala
- Supertypes
-
trait Singletontrait Producttrait Mirrortrait Serializabletrait Producttrait Equalsclass StatusDataclass Objecttrait Matchableclass AnyShow all
- Self type
-
Ok.type
case object Unset extends StatusData
The default state.
The default state.
Attributes
- Source
- StatusData.scala
- Supertypes
-
trait Singletontrait Producttrait Mirrortrait Serializabletrait Producttrait Equalsclass StatusDataclass Objecttrait Matchableclass AnyShow all
- Self type
-
Unset.type
Inherited types
The names of the product elements
The name of the type
Value members
Concrete methods
Returns StatusData for the given status
.
Creates StatusData using the given status
and description
.
Creates StatusData using the given status
and description
.
Value parameters
- description
-
the description of the StatusData. Effective only for the Status.Error.
- status
-
the status of the StatusData
Attributes
- Source
- StatusData.scala
Implicits
In this article