//
//  INErrorCode.h
//  Indigitall
//
//  Created by indigitall on 29/04/2020.
//  Copyright © 2020 Indigital. All rights reserved.
//

#import <Foundation/Foundation.h>

NS_ASSUME_NONNULL_BEGIN
typedef enum {
    GENERAL_ERROR = 600,
    DEVICE_FIELD_MISSING = 601,
    DEVICE_NOT_REGISTERED = 602,
    DEVICE_ID_FIELD_MISSING = 603,
    INITIALIZATION_ERROR = 603,
    EXTERNAL_CODE_ERROR = 602,
    TIMEOUT_REQUEST = 605,
    API_SERVER_ERROR = 500,
    API_PARAMETER_MISSING = 400,
    API_APPKEY_NOT_VALID = 401,
    API_FORBIDDEN_REQUEST = 403,
    API_DEVICE_NOT_FOUND = 404,
    API_TOPICS_ARE_INSERTED = 409,
    BAD_REQUEST_SERVER_ERROR = 4800,
    DISABLED_CHANNEL = 4404,
    INBOX_GET_ERROR = 3001,
    INBOX_EXTERNAL_ID_NO_REGISTERED = 3003,
    INBOX_IS_REQUESTING_PAGE = 3006,
    INBOX_GET_PAGE_ERROR = 3011,
    INBOX_GENERAL_ERROR = 3600,
    INBOX_BAD_REQUEST = 3604
} INErrorCode;

extern NSString* _Nonnull const FormatStateError_toString[];


NS_ASSUME_NONNULL_END
