Files
flipper/iOS/Plugins/FlipperKitDatabasesPlugin/FlipperKitDatabasesPlugin/DatabaseErrorCodes.h
Fúlvio Abrahão de Paula ce85f44a33 Create commands data models and add ObjectMapper.
Reviewed By: lblasa

Differential Revision: D48188172

fbshipit-source-id: 10c99250f993c71976c693a691586385d111a4fd
2023-08-14 11:07:07 -07:00

22 lines
729 B
Objective-C

/*
* Copyright (c) Meta Platforms, Inc. and affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
#import <Foundation/Foundation.h>
typedef NS_ENUM(NSInteger, DatabasesErrorCodes) {
DatabasesErrorCodesInvalidRequest = 1,
DatabasesErrorCodesDatabaseInvalid = 2,
DatabasesErrorCodesSqlExecutionException = 3,
};
static NSString* const kDatabasesErrorCodesInvalidRequestMessage =
@"The request received was invalid";
static NSString* const kDatabasesErrorCodesDatabaseInvalidMessage =
@"Could not access database";
static NSString* const kDatabasesErrorCodesSqlExecutionExceptionMessage =
@"SQL execution exception: ";