Yini  1.0
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Properties Macros Pages
DBError.h
Go to the documentation of this file.
1 //
2 // DBError.h
3 // DropboxSDK
4 //
5 // Created by Brian Smith on 7/21/10.
6 // Copyright 2010 Dropbox, Inc. All rights reserved.
7 //
8 
9 /* This file contains error codes and the dropbox error domain */
10 
11 extern NSString* DBErrorDomain;
12 
13 // Error codes in the dropbox.com domain represent the HTTP status code if less than 1000
14 typedef enum {
19  DBErrorIllegalFileType, // Error sent if you try to upload a directory
20  DBErrorInvalidResponse, // Sent when the client does not get valid JSON when it's expecting it
21 } DBErrorCode;