Hevy SDK Documentation - v0.0.0
    Preparing search index...

    Class APIError

    Error thrown when an API request fails.

    Hierarchy

    • Error
      • APIError
    Index

    Properties

    Methods

    Properties

    message: string

    The error message returned by the API.

    statusCode: number

    The HTTP status code returned by the API.

    Methods

    • Indicates whether the argument provided is a built-in Error instance or not.

      Parameters

      • error: unknown

      Returns error is Error