diff options
Diffstat (limited to 'SmartDeviceLink/SDLError.h')
-rw-r--r-- | SmartDeviceLink/SDLError.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/SmartDeviceLink/SDLError.h b/SmartDeviceLink/SDLError.h index 9711d8e51..4a0cbd7ca 100644 --- a/SmartDeviceLink/SDLError.h +++ b/SmartDeviceLink/SDLError.h @@ -23,6 +23,7 @@ extern SDLErrorDomain *const SDLErrorDomainTextAndGraphicManager; extern SDLErrorDomain *const SDLErrorDomainSoftButtonManager; extern SDLErrorDomain *const SDLErrorDomainMenuManager; extern SDLErrorDomain *const SDLErrorDomainChoiceSetManager; +extern SDLErrorDomain *const SDLErrorDomainTransport; @interface NSError (SDLErrors) @@ -65,6 +66,13 @@ extern SDLErrorDomain *const SDLErrorDomainChoiceSetManager; + (NSError *)sdl_choiceSetManager_choiceDeletionFailed:(NSDictionary *)userInfo; + (NSError *)sdl_choiceSetManager_choiceUploadFailed:(NSDictionary *)userInfo; +#pragma mark Transport + ++ (NSError *)sdl_transport_unknownError; ++ (NSError *)sdl_transport_connectionRefusedError; ++ (NSError *)sdl_transport_connectionTimedOutError; ++ (NSError *)sdl_transport_networkDownError; + @end @interface NSException (SDLExceptions) |