Enum Class SCErrorType

java.lang.Object
java.lang.Enum<SCErrorType>
org.stellar.sdk.xdr.SCErrorType
All Implemented Interfaces:
Serializable, Comparable<SCErrorType>, Constable

public enum SCErrorType extends Enum<SCErrorType>
SCErrorType's original definition in the XDR file is:
 enum SCErrorType
 {
     SCE_CONTRACT = 0,          // Contract-specific, user-defined codes.
     SCE_WASM_VM = 1,           // Errors while interpreting WASM bytecode.
     SCE_CONTEXT = 2,           // Errors in the contract's host context.
     SCE_STORAGE = 3,           // Errors accessing host storage.
     SCE_OBJECT = 4,            // Errors working with host objects.
     SCE_CRYPTO = 5,            // Errors in cryptographic operations.
     SCE_EVENTS = 6,            // Errors while emitting events.
     SCE_BUDGET = 7,            // Errors relating to budget limits.
     SCE_VALUE = 8,             // Errors working with host values or SCVals.
     SCE_AUTH = 9               // Errors from the authentication subsystem.
 };
 
  • Enum Constant Details

    • SCE_CONTRACT

      public static final SCErrorType SCE_CONTRACT
    • SCE_WASM_VM

      public static final SCErrorType SCE_WASM_VM
    • SCE_CONTEXT

      public static final SCErrorType SCE_CONTEXT
    • SCE_STORAGE

      public static final SCErrorType SCE_STORAGE
    • SCE_OBJECT

      public static final SCErrorType SCE_OBJECT
    • SCE_CRYPTO

      public static final SCErrorType SCE_CRYPTO
    • SCE_EVENTS

      public static final SCErrorType SCE_EVENTS
    • SCE_BUDGET

      public static final SCErrorType SCE_BUDGET
    • SCE_VALUE

      public static final SCErrorType SCE_VALUE
    • SCE_AUTH

      public static final SCErrorType SCE_AUTH
  • Method Details