oko-management
    Preparing search index...
    • Handles errors by checking if the error is an instance of AxiosError. If it is, it logs an Axios error message and throws a CustomHttpError with the status code. If not, it logs a non-Axios error message and throws a generic Error with a predefined unknown error message.

      Parameters

      • error: unknown

      Returns Error