// // NSError+POSIX.m // MBMenuExtra // // Created by Michael Bishop on 1/8/10. // Copyright 2010 Perforce Software. All rights reserved. // #import "NSError+NGAAdditions.h" #include @implementation NSError (NGAAdditions) +(NSError*)errorWithErrno { return [NSError errorWithDomain:NSPOSIXErrorDomain code:errno userInfo:nil]; } @end