Skip to main content

ErrorCode

Error code to allow urther front end behaviour depending on error

GraphQL Schema

"""Error code to allow urther front end behaviour depending on error"""
enum ErrorCode {
"""
Internal server error - something went wrong server side, likely to be unexpected
"""
INTERNAL_SERVER_ERROR

"""Object not found for a given ID, may have been deleted"""
OBJECT_NOT_FOUND

"""Insufficient funds to achieve mutation"""
INSUFFICIENT_FUNDS

"""Data is invalid in some way"""
INVALID_DATA

"""Appointment is no longer available"""
APPOINTMENT_NOT_AVAILABLE
}

Values

NameDescription
INTERNAL_SERVER_ERRORInternal server error - something went wrong server side, likely to be unexpected
OBJECT_NOT_FOUNDObject not found for a given ID, may have been deleted
INSUFFICIENT_FUNDSInsufficient funds to achieve mutation
INVALID_DATAData is invalid in some way
APPOINTMENT_NOT_AVAILABLEAppointment is no longer available