diff options
author | Joel Fischer <joeljfischer@gmail.com> | 2021-09-24 11:07:00 -0400 |
---|---|---|
committer | Joel Fischer <joeljfischer@gmail.com> | 2021-09-24 11:07:00 -0400 |
commit | 1844b32b14121d3c2ecbb6d263fb96a7b7d30e1d (patch) | |
tree | 329886ba9bbed7a59a03ab1726732b4a215e029d /SmartDeviceLink/public | |
parent | 095d0a2eaba8c7d607b28f1e78aa2af911740d27 (diff) | |
download | sdl_ios-1844b32b14121d3c2ecbb6d263fb96a7b7d30e1d.tar.gz |
Fix many cases of completion handlers not called
Diffstat (limited to 'SmartDeviceLink/public')
-rw-r--r-- | SmartDeviceLink/public/SDLErrorConstants.h | 9 | ||||
-rw-r--r-- | SmartDeviceLink/public/SDLErrorConstants.m | 1 |
2 files changed, 10 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. */ diff --git a/SmartDeviceLink/public/SDLErrorConstants.m b/SmartDeviceLink/public/SDLErrorConstants.m index ccfc62472..b6e77a210 100644 --- a/SmartDeviceLink/public/SDLErrorConstants.m +++ b/SmartDeviceLink/public/SDLErrorConstants.m @@ -10,6 +10,7 @@ #pragma mark Error Domains +SDLErrorDomain *const SDLErrorDomainSystem = @"com.sdl.system.error"; SDLErrorDomain *const SDLErrorDomainAudioStreamManager = @"com.sdl.extension.pcmAudioStreamManager"; SDLErrorDomain *const SDLErrorDomainCacheFileManager = @"com.sdl.cachefilemanager.error"; SDLErrorDomain *const SDLErrorDomainChoiceSetManager = @"com.sdl.choicesetmanager.error"; |