📃
OmniOne Developer Site
  • Introduction
  • Manager console guide
    • To begin with...
      • Wallet Settings
      • Select an Account
      • The Issuer/SP account creation
      • Issue access token for the OmniOne Agent
    • Issuer Console
      • Claim
      • VC Type
      • VC Format
      • Issue the VC Information
      • My request list
    • SP Console
      • Service List
      • Token Transaction History
      • My service request
  • Server system construction
    • To begin with...
      • Server Wallet creation and Key settings
      • Collect the Issuer and SP's DID
      • application.properties settings
    • Server default environment configuration per IDE
      • Spring Tool Suite 4
      • IntelliJ IDEA
    • Building the Issuer system
      • Issuer server guide(JAVA)
    • Building the SP system
      • SP server guide (JAVA)
  • Checking Blockchain data
    • Check Agent API
      • bp
      • Committee
      • DID
      • executor
      • key
      • pDID
      • player
      • policy
      • txinfo
      • txissue
      • vc
      • version
      • response codes
  • SDK instruction guide
    • Core SDK Guide
      • Java Wallet
        • IWKeyManager
        • IWDIDManager
        • IWRecoveryManager
        • ZkpException
        • IWException
      • iOS Wallet
        • IWKeyManager
        • IWDidManager
        • IWClaimManager
        • IWRecoveryManager
        • IWErrorManager
        • Enum
    • Server SDK Guide
      • Java
        • ServerInfo
        • IssuerApi
        • SpApi
        • VcResult
        • VcInitParam
        • VCRegParam
        • VcVerifyParam
        • SpProfileParam
    • Omni App Link SDK
      • Server
      • Android
      • IOS
  • Node creation
    • Full Node creation
      • Full Node by using Docker
        • Docker Installation
        • Building Full Node
        • Full Node settings
      • Installation type Full Node
        • Full Node installation
    • BP Node creation
      • BP Node by using Docker
        • Docker Installation
        • Building BP Node
        • BP Node settings
          • keosd/BP Node executing simultaneously
      • Installation type BP
        • Node Installation
        • Executing Node
        • Node settings
        • BP Vote
Powered by GitBook
On this page
  • Constructor
  • shared
  • Setting
  • setErrorCode
  • Getting
  • getLastErrorCode
  • getLastErrorMessage
  • getLastErrorCodeAndMessage
  • Resetting
  • reset

Was this helpful?

  1. SDK instruction guide
  2. Core SDK Guide
  3. iOS Wallet

IWErrorManager

This framework is written with the Objective-C.

Constructor

shared

+ (IWErrorManager *)shared

Description

  • Initializes IWErrorManager

Return Value

  • Initialized IWErrorManager singleton object

Setting

setErrorCode

- (void)setErrorCode:(NSUInteger)code message:(NSString *)message

Description

  • Sets the error code and message.

Parameters

Type

Parameter

Description

NSUInteger

code

Error code

NSString

message

Error message

For error code and message please refer to IWErrorDef.h.

Getting

getLastErrorCode

- (NSUInteger)getLastErrorCode

Description

  • Gets an error code in the last occurred error

Return Value

  • Error code

For error code ad message, please refer to IWErrorDef.h

getLastErrorMessage

- (NSString *)getLastErrorMessage

Description

  • Gets an error message in the last occurred error

Return Value

  • Error message

For error code and message, please refer to IWErrorDef.h

getLastErrorCodeAndMessage

- (NSString *)getLastErrorCodeAndMessage

Description

  • Gets an error message and error code in the last occurred error

Return Value

  • Error message and error code

For error code and message, please refer to IWErrorDef.h

Resetting

reset

- (void)reset

Description

  • Initializes error code and message

PreviousIWRecoveryManagerNextEnum

Last updated 4 years ago

Was this helpful?