mirror of
https://github.com/MacPass/MacPass.git
synced 2025-12-14 17:32:17 +00:00
20 lines
399 B
Objective-C
20 lines
399 B
Objective-C
//
|
|
// NSError+Messages.h
|
|
// MacPass
|
|
//
|
|
// Created by Michael Starke on 04.09.13.
|
|
// Copyright (c) 2013 HicknHack Software GmbH. All rights reserved.
|
|
//
|
|
|
|
#import <Foundation/Foundation.h>
|
|
|
|
FOUNDATION_EXPORT NSString *const MPErrorDomain;
|
|
|
|
@interface NSError (Messages)
|
|
|
|
+ (NSError *)errorWithCode:(NSInteger)code description:(NSString *)description;
|
|
|
|
- (NSString *)descriptionForErrorCode;
|
|
|
|
@end
|