source: trunk/Cocoa/Pester/Source/PSError.h@ 578

Last change on this file since 578 was 53, checked in by Nicholas Riley, 22 years ago

Updated for Pester 1.1a5 (very limited release).

Pester 1.1a4 was never released.

File size: 468 bytes
Line 
1//
2// PSError.h
3// Pester
4//
5// Created by Nicholas Riley on Sun Dec 29 2002.
6// Copyright (c) 2002 Nicholas Riley. All rights reserved.
7//
8
9#import <Foundation/Foundation.h>
10
11
12@interface PSError : NSObject {
13 NSCountedSet *reasons;
14 NSString *operation;
15 unsigned count;
16}
17
18// create an error object
19+ (PSError *)error;
20
21// raise exception, invalidates error object
22- (void)raiseIfNeededForOperation:(NSString *)anOperation count:(unsigned)aCount;
23
24@end
Note: See TracBrowser for help on using the repository browser.