MBXTileRegionError.h 854 B

123456789101112131415161718192021222324252627
  1. // This file is generated and will be overwritten automatically.
  2. #import <Foundation/Foundation.h>
  3. #import <MapboxCommon/MBXTileRegionErrorType.h>
  4. /** Describes a tile region load request error. */
  5. NS_SWIFT_NAME(TileRegionError)
  6. __attribute__((visibility ("default")))
  7. @interface MBXTileRegionError : NSObject
  8. // This class provides custom init which should be called
  9. - (nonnull instancetype)init NS_UNAVAILABLE;
  10. // This class provides custom init which should be called
  11. + (nonnull instancetype)new NS_UNAVAILABLE;
  12. - (nonnull instancetype)initWithType:(MBXTileRegionErrorType)type
  13. message:(nonnull NSString *)message;
  14. /** The reason for the response error. */
  15. @property (nonatomic, readonly) MBXTileRegionErrorType type;
  16. /** An error message */
  17. @property (nonatomic, readonly, nonnull, copy) NSString *message;
  18. @end