org.sigilaris.core.failure
Members list
Type members
Classlikes
Factory for structured client-facing failure messages.
Factory for structured client-facing failure messages.
Encodes failure information into a standardized string format using FailureMessageFormat, categorized by client failure kind (invalid request, forbidden, not found).
Attributes
- Source
- ClientFailureMessage.scala
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
ClientFailureMessage.type
Factory for structured conflict failure messages.
Factory for structured conflict failure messages.
Encodes conflict information (e.g., optimistic concurrency violations) into a standardized string format using FailureMessageFormat.
Attributes
- Source
- ConflictMessage.scala
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
ConflictMessage.type
Cryptographic operation failed (e.g., signature verification, key recovery).
Cryptographic operation failed (e.g., signature verification, key recovery).
Value parameters
- msg
-
the crypto operation error description
Attributes
- Source
- SigilarisFailure.scala
- Supertypes
-
trait Producttrait Equalstrait SigilarisFailuretrait NoStackTraceclass Throwabletrait Serializableclass Objecttrait Matchableclass AnyShow all
Decoding failed with a descriptive message (e.g., type mismatch, missing field).
Decoding failed with a descriptive message (e.g., type mismatch, missing field).
Value parameters
- msg
-
the failure description
Attributes
- Source
- SigilarisFailure.scala
- Supertypes
-
trait Producttrait Equalstrait SigilarisFailuretrait NoStackTraceclass Throwabletrait Serializableclass Objecttrait Matchableclass AnyShow all
External mapping key projected from a FailureCode plus formatter context.
External mapping key projected from a FailureCode plus formatter context.
Value parameters
- code
-
the associated failure code
- rendered
-
the validated (or fallback) key string
Attributes
- Companion
- object
- Source
- FailureCode.scala
- Supertypes
-
trait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass AnyShow all
Factory for ErrorKey instances with pattern-based validation.
Factory for ErrorKey instances with pattern-based validation.
Attributes
- Companion
- class
- Source
- FailureCode.scala
- Supertypes
-
trait Producttrait Mirrorclass Objecttrait Matchableclass Any
- Self type
-
ErrorKey.type
Predefined FailureCode constants for core failure categories.
Predefined FailureCode constants for core failure categories.
Attributes
- Source
- FailureCode.scala
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
FailureCode.type
Structured diagnostic payload shared by failure and rejection surfaces.
Structured diagnostic payload shared by failure and rejection surfaces.
Attributes
- Companion
- object
- Source
- FailureDiagnostic.scala
- Supertypes
-
trait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass AnyShow all
Companion for FailureDiagnostic.
Companion for FailureDiagnostic.
Attributes
- Companion
- class
- Source
- FailureDiagnostic.scala
- Supertypes
-
trait Producttrait Mirrorclass Objecttrait Matchableclass Any
- Self type
-
FailureDiagnostic.type
Closed family describing which subsystem emitted a structured diagnostic.
Closed family describing which subsystem emitted a structured diagnostic.
Attributes
- Source
- FailureDiagnostic.scala
- Supertypes
-
trait Enumtrait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass AnyShow all
Parsed or to-be-rendered failure message payload.
Parsed or to-be-rendered failure message payload.
Attributes
- Companion
- object
- Source
- FailureMessageEnvelope.scala
- Supertypes
-
trait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass AnyShow all
Companion for FailureMessageEnvelope.
Companion for FailureMessageEnvelope.
Attributes
- Companion
- class
- Source
- FailureMessageEnvelope.scala
- Supertypes
-
trait Producttrait Mirrorclass Objecttrait Matchableclass Any
- Self type
Parsing of external representation (e.g., JSON text) failed.
Parsing of external representation (e.g., JSON text) failed.
Value parameters
- msg
-
the parse error description
Attributes
- Source
- SigilarisFailure.scala
- Supertypes
-
trait Producttrait Equalstrait SigilarisFailuretrait NoStackTraceclass Throwabletrait Serializableclass Objecttrait Matchableclass AnyShow all
Transaction routing failed (e.g., module not found in composed blueprint).
Transaction routing failed (e.g., module not found in composed blueprint).
Value parameters
- msg
-
the routing error description
Attributes
- Source
- SigilarisFailure.scala
- Supertypes
-
trait Producttrait Equalstrait SigilarisFailuretrait NoStackTraceclass Throwabletrait Serializableclass Objecttrait Matchableclass AnyShow all
Base failure type for Sigilaris operations.
Base failure type for Sigilaris operations.
All failures carry a human-readable message and avoid stack traces for performance and clarity in error reporting.
Attributes
- Companion
- object
- Source
- SigilarisFailure.scala
- Supertypes
-
trait NoStackTraceclass Throwabletrait Serializableclass Objecttrait Matchableclass AnyShow all
- Known subtypes
-
class CryptoFailureclass DecodeFailureclass ParseFailureclass RoutingFailureclass TrieFailuretrait UInt256Failureclass UInt256InvalidHexobject UInt256NegativeValueclass UInt256Overflowclass UInt256TooLongShow all
Attributes
- Companion
- trait
- Source
- SigilarisFailure.scala
- Supertypes
-
trait Sumtrait Mirrorclass Objecttrait Matchableclass Any
- Self type
-
SigilarisFailure.type
Shared surface for failures that expose machine-readable reason/detail data.
Shared surface for failures that expose machine-readable reason/detail data.
Attributes
- Source
- FailureDiagnostic.scala
- Supertypes
-
class Objecttrait Matchableclass Any
- Known subtypes
-
trait CanonicalRejectionclass ArtifactContractRejectedclass BackfillUnavailableclass ControlBatchRejectedclass HandshakeRejectedclass StaleCursorclass HotStuffPolicyViolationclass SnapshotSyncFailureShow all
Merkle trie operation failed (e.g., node store access, structural issues).
Merkle trie operation failed (e.g., node store access, structural issues).
Value parameters
- msg
-
the trie operation error description
Attributes
- Source
- SigilarisFailure.scala
- Supertypes
-
trait Producttrait Equalstrait SigilarisFailuretrait NoStackTraceclass Throwabletrait Serializableclass Objecttrait Matchableclass AnyShow all
Sealed family of failures specific to UInt256 operations.
Sealed family of failures specific to UInt256 operations.
Must live in this file alongside SigilarisFailure to satisfy the sealed restriction.
Attributes
- Source
- SigilarisFailure.scala
- Supertypes
-
trait SigilarisFailuretrait NoStackTraceclass Throwabletrait Serializableclass Objecttrait Matchableclass AnyShow all
- Known subtypes
The input hex string contains characters that are not valid hexadecimal digits.
The input hex string contains characters that are not valid hexadecimal digits.
Value parameters
- detail
-
description of the hex parsing error
Attributes
- Source
- SigilarisFailure.scala
- Supertypes
-
trait Producttrait Equalstrait UInt256Failuretrait SigilarisFailuretrait NoStackTraceclass Throwabletrait Serializableclass Objecttrait Matchableclass AnyShow all
The input value is negative, which is invalid for an unsigned 256-bit integer.
The input value is negative, which is invalid for an unsigned 256-bit integer.
Attributes
- Source
- SigilarisFailure.scala
- Supertypes
-
trait Singletontrait Producttrait Mirrortrait Producttrait Equalstrait UInt256Failuretrait SigilarisFailuretrait NoStackTraceclass Throwabletrait Serializableclass Objecttrait Matchableclass AnyShow all
- Self type
-
UInt256NegativeValue.type
The input value exceeds the 2^256 - 1 upper bound.
The input value exceeds the 2^256 - 1 upper bound.
Value parameters
- detail
-
description of the overflow condition
Attributes
- Source
- SigilarisFailure.scala
- Supertypes
-
trait Producttrait Equalstrait UInt256Failuretrait SigilarisFailuretrait NoStackTraceclass Throwabletrait Serializableclass Objecttrait Matchableclass AnyShow all
Input byte sequence exceeds the maximum allowed length for UInt256.
Input byte sequence exceeds the maximum allowed length for UInt256.
Value parameters
- actualBytes
-
the actual number of bytes provided
- maxBytes
-
the maximum allowed number of bytes (32)
Attributes
- Source
- SigilarisFailure.scala
- Supertypes
-
trait Producttrait Equalstrait UInt256Failuretrait SigilarisFailuretrait NoStackTraceclass Throwabletrait Serializableclass Objecttrait Matchableclass AnyShow all
Types
Stable, transport-neutral identifier for a failure source.
Stable, transport-neutral identifier for a failure source.
Values must match the pattern [a-z0-9]+([._-][a-z0-9]+)*.
Value parameters
- value
-
the dot/dash/underscore-separated identifier string
Attributes
- Source
- FailureCode.scala