UplcEvalResult

scalus.uplc.UplcEvalResult

Represents the result of evaluating a UPLC program using uplc CLI

Attributes

Graph
Supertypes
trait Enum
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Members list

Type members

Enum entries

final case class Success(term: Term, budget: ExBudget)

Represents a successful evaluation of a UPLC program Contains the evaluated term and the execution budget used for evaluation

Represents a successful evaluation of a UPLC program Contains the evaluated term and the execution budget used for evaluation

Attributes

final case class TermParsingError(error: String)

Represents a failure in parsing the evaluated term Normally this should not happen and indicates a bug in the UPLC parser or changes in the output format of uplc

Represents a failure in parsing the evaluated term Normally this should not happen and indicates a bug in the UPLC parser or changes in the output format of uplc

Attributes

final case class UplcFailure(errorCode: Int, error: String)

Represents a failure in evaluating a UPLC program

Represents a failure in evaluating a UPLC program

Value parameters

error

the error message returned by the uplc CLI

errorCode

the error code returned by the uplc CLI

Attributes