杨锴
2024-10-09 e987bc09f955e01c2835f01e3a6af20723a579f9
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
//
//  NSError+OBSMTLModelException.h
//  Mantle
//
//  Created by Robert Böhnke on 7/6/13.
//  Copyright (c) 2013 GitHub. All rights reserved.
//
 
#import <Foundation/Foundation.h>
 
@interface NSError (OBSMTLModelException)
 
/// Creates a new error for an exception that occurred during updating an
/// OBSMTLModel.
///
/// exception - The exception that was thrown while updating the model.
///             This argument must not be nil.
///
/// Returns an error that takes its localized description and failure reason
/// from the exception.
+ (instancetype)obs_mtl_modelErrorWithException:(NSException *)exception;
 
@end