summaryrefslogtreecommitdiff
path: root/SmartDeviceLink/public/SDLErrorConstants.h
diff options
context:
space:
mode:
Diffstat (limited to 'SmartDeviceLink/public/SDLErrorConstants.h')
-rw-r--r--SmartDeviceLink/public/SDLErrorConstants.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/SmartDeviceLink/public/SDLErrorConstants.h b/SmartDeviceLink/public/SDLErrorConstants.h
index a148e9f57..c5e0fc88f 100644
--- a/SmartDeviceLink/public/SDLErrorConstants.h
+++ b/SmartDeviceLink/public/SDLErrorConstants.h
@@ -13,6 +13,9 @@
/// A typedef declaration of the SDL error domain
typedef NSString SDLErrorDomain;
+/// An error with the iOS system
+extern SDLErrorDomain *const SDLErrorDomainSystem;
+
/// An error in the SDLAudioStreamManager
extern SDLErrorDomain *const SDLErrorDomainAudioStreamManager;
@@ -58,6 +61,12 @@ extern SDLErrorDomain *const SDLErrorDomainTransport;
#pragma mark Error Codes
+/// Error associated with the underlying operating system
+typedef NS_ENUM(NSInteger, SDLSystemError) {
+ /// iOS failed to create an object
+ SDLSystemErrorFailedToCreateObject = -1
+};
+
/**
* Errors associated with the SDLManager class.
*/