arvo-core
    Preparing search index...

    Function createArvoError

    • Creates a standardized ArvoError payload from an Error object. This utility ensures consistent error reporting across the event system by extracting and structuring key error information.

      Parameters

      • error: Error

        The source Error object to convert

      Returns { errorMessage: string; errorName: string; errorStack: string | null }

      ArvoErrorType - The standardized error payload