Implemented Evaluation
This commit is contained in:
21
MathPad/MPParseError.h
Normal file
21
MathPad/MPParseError.h
Normal file
@@ -0,0 +1,21 @@
|
||||
//
|
||||
// MPParseError.h
|
||||
// MathPad
|
||||
//
|
||||
// Created by Kim Wittenburg on 06.09.14.
|
||||
// Copyright (c) 2014 Kim Wittenburg. All rights reserved.
|
||||
//
|
||||
|
||||
#import <Foundation/Foundation.h>
|
||||
|
||||
#define MPParseError(index,key) [[MPParseError alloc] initWithErrorIndex:index errorMessageKey:key]
|
||||
|
||||
@interface MPParseError : NSObject
|
||||
|
||||
- (instancetype)initWithErrorIndex:(NSUInteger)errorIndex
|
||||
errorMessageKey:(NSString *)errorMessageKey;
|
||||
|
||||
@property (nonatomic) NSUInteger errorIndex;
|
||||
@property (nonatomic) NSString *localizedErrorMessage;
|
||||
|
||||
@end
|
||||
Reference in New Issue
Block a user