akiles-cordova
    Preparing search index...

    Class AkilesError

    Represents an error in the Akiles SDK.

    Hierarchy

    • Error
      • AkilesError
    Index

    Constructors

    Properties

    code: ErrorCode

    The error code.

    distance?: number

    Actual distance to the site, in meters. Only present if code is INTERNET_LOCATION_OUT_OF_RADIUS.

    endsAt?: string

    Member end date, RFC3339 timestamp. Only present if reason is MEMBER_ENDED.

    message: string
    name: string

    Reason for permission denied errors. Only present if code is PERMISSION_DENIED.

    schedule?: Schedule

    Member's schedule. Only present if reason is OUT_OF_SCHEDULE.

    siteGeo?: SiteGeo

    Geolocation restriction of the site. Only present if code is INTERNET_LOCATION_OUT_OF_RADIUS.

    stack?: string
    startsAt?: string

    Member start date, RFC3339 timestamp. Only present if reason is MEMBER_NOT_STARTED.

    timezone?: string

    Timezone the schedule is interpreted in. TZDB name, example Europe/Madrid. Only present if reason is OUT_OF_SCHEDULE.

    waitTime?: number

    Time needed to wait to be in schedule, in seconds. Only present if reason is OUT_OF_SCHEDULE.