SubmitError

scalus.cardano.node.SubmitError
See theSubmitError companion trait
object SubmitError

Attributes

Companion
trait
Graph
Supertypes
trait Sum
trait Mirror
class Object
trait Matchable
class Any
Self type

Members list

Type members

Deprecated types

Attributes

Deprecated
[Since version 0.14.2] Use ConnectionError instead

Use ConnectionError instead

Inherited and Abstract types

type MirroredElemLabels <: Tuple

The names of the product elements

The names of the product elements

Attributes

Inherited from:
Mirror
type MirroredLabel <: String

The name of the type

The name of the type

Attributes

Inherited from:
Mirror

Value members

Concrete methods

Create a SubmitError from a TransactionException.

Create a SubmitError from a TransactionException.

This is used by the Emulator to map internal validation exceptions to SubmitError.

Attributes

def fromHttpResponse(statusCode: Int, message: String): SubmitError

Create a SubmitError from an HTTP status code and message.

Create a SubmitError from an HTTP status code and message.

This is used by HTTP-based providers like Blockfrost to classify errors based on status codes and error message patterns.

Attributes

def parseValidationError(message: String): SubmitError

Parse a validation error message to classify it into a specific SubmitError type.

Parse a validation error message to classify it into a specific SubmitError type.

This attempts to match known Cardano ledger error patterns.

Attributes

Concrete fields

val AuthenticationError: AuthenticationError.type
val Banned: Banned.type
val ConnectionError: ConnectionError.type
val InternalError: InternalError.type
val MempoolFull: MempoolFull.type
val RateLimited: RateLimited.type
val ScriptFailure: ScriptFailure.type
val TransactionExpired: TransactionExpired.type
val UtxoNotAvailable: UtxoNotAvailable.type
val ValidationError: ValidationError.type
val ValueNotConserved: ValueNotConserved.type

Deprecated fields

val NetworkError: ConnectionError.type

Attributes

Deprecated
[Since version 0.14.2] Use ConnectionError instead