Documentation

AkashicErrorDetail
in package

Table of Contents

Properties

$errorDetails  : array<string|int, mixed>

Methods

get()  : string|null
Retrieves the error detail message for a given error code.

Properties

$errorDetails

private static array<string|int, mixed> $errorDetails = [\Akashic\Constants\AkashicErrorCode::TEST_NET_OTK_ONBOARDING_FAILED => 'Failed to setup test-otk. Please try again', \Akashic\Constants\AkashicErrorCode::INCORRECT_PRIVATE_KEY_FORMAT => 'Private Key is not in correct format', \Akashic\Constants\AkashicErrorCode::UNKNOWN_ERROR => 'Akashic failed with an unknown error. Please try again later', \Akashic\Constants\AkashicErrorCode::KEY_CREATION_FAILURE => 'Failed to generate new wallet. Try again.', \Akashic\Constants\AkashicErrorCode::UNHEALTHY_KEY => 'New wallet was not created safely, please re-create', \Akashic\Constants\AkashicErrorCode::ACCESS_DENIED => 'Unauthorized attempt to access production Akashic Link secrets', \Akashic\Constants\AkashicErrorCode::L2_ADDRESS_NOT_FOUND => 'L2 Address not found', \Akashic\Constants\AkashicErrorCode::IS_NOT_BP => 'Please sign up on AkashicPay.com first', \Akashic\Constants\AkashicErrorCode::SAVINGS_EXCEEDED => 'Transaction amount exceeds total savings']

Methods

get()

Retrieves the error detail message for a given error code.

public static get(string $errorCode) : string|null
Parameters
$errorCode : string
Return values
string|null

        
On this page

Search results