杨锴
2024-11-15 745e4fc64ca2912c011d925f12e638ed6d81b367
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