mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2024-11-19 11:10:55 +00:00
256630c84d
Runtime errors and support for line number reporting with the error.
17 lines
372 B
Objective-C
17 lines
372 B
Objective-C
#ifndef __Error_h
|
|
#define __Error_h
|
|
#include "SchemeObject.h"
|
|
|
|
@interface Error: SchemeObject
|
|
{
|
|
string type, message;
|
|
}
|
|
+ (id) type: (string) t message: (string) m by: (SchemeObject) o;
|
|
+ (id) type: (string) t message: (string) m;
|
|
- (id) initWithType: (string) t message: (string) m by: (SchemeObject) o;
|
|
- (string) type;
|
|
- (string) message;
|
|
|
|
@end
|
|
|
|
#endif //__Error_h
|