//
//  MVMCoreErrorConstants.h
//  MVMCore
//
//  Created by Pfeil, Scott Robert on 11/13/17.
//  Copyright © 2017 myverizon. All rights reserved.
//

#import <Foundation/Foundation.h>

// Error Domains
extern NSString * const ErrorDomainSystem;
extern NSString * const ErrorDomainNative;
extern NSString * const ErrorDomainServer;

// Native Error Codes (Add new ones to bottom, don't change order!)
typedef NS_ENUM(NSInteger, ErrorCode) {
    ErrorCodeDefault = 1,
    ErrorCodeParsingJSON, //2
    ErrorCodeNoPageType, //3
    ErrorCodeInitViewController,//4
    ErrorCodeViewControllerProcessingJSON,//5
    ErrorCodeRequiredModuleNotPresent,//6
    ErrorCodeNativeTimeout,//7
    ErrorCodeLinkawayFailed,//8
    ErrorCodePopupFailed,//9
    ErrorCodeUnknownActionType,//10
    ErrorCodeEmptyField,//11
    ErrorCodeInputValidationFailure,//12
    ErrorCodeEmptyResponse,//13
    ErrorCodeStaticCacheFail,//14
    ErrorCodeServerFailSendTouchIDHash,//15
    ErrorCodeJSONNotDictionary,//16
    ErrorCodeNoStoryboardName,//17
    ErrorCodeNoStoryBoardIdentifier,//18
    ErrorCodeNoNibName,//19
    ErrorCodeNoModule,//20
    ErrorCodeInvalidSettingType,//21
    ErrorCodeServerFailSendFaceIDHash,//22
    ErrorCodeSSL,//23
    ErrorCodeNoViewControllerToPresentOn,//24
    ErrorCodeNoErrorPageSent //25
};
