blob: a6f3cc5d732209a13d9d24b7d6ccdd00cdb53eca (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
|
//
// SDLErrorConstants.h
// SmartDeviceLink-iOS
//
// Created by Joel Fischer on 8/8/16.
// Copyright © 2016 smartdevicelink. All rights reserved.
//
#import <Foundation/Foundation.h>
/**
* Errors associated with the SDLManager class.
*/
typedef NS_ENUM(NSInteger, SDLManagerError) {
/**
* An RPC request failed to send.
*/
SDLManagerErrorRPCRequestFailed = -1,
/**
* Some action was attempted that requires a connection to the remote head unit.
*/
SDLManagerErrorNotConnected = -2,
/**
* Some action was attempted before the ready state was reached.
*/
SDLManagerErrorNotReady = -3,
/**
* The remote system encountered an unknown error.
*/
SDLManagerErrorUnknownRemoteError = -4,
/**
* One or more of the sub-managers failed to start.
*/
SDLManagerErrorManagersFailedToStart = -5,
/**
* Registering with the remote system failed.
*/
SDLManagerErrorRegistrationFailed = -6,
};
/**
* Errors associated with the SDLFileManager class.
*/
typedef NS_ENUM(NSInteger, SDLFileManagerError) {
/**
* A file attempted to send, but a file with that name already exists on the remote head unit, and the file was not configured to overwrite.
*/
SDLFileManagerErrorCannotOverwrite = -1,
/**
* A file was attempted to be accessed but it does not exist.
*/
SDLFileManagerErrorNoKnownFile = -2
};
|