github.com/keybase/client/go@v0.0.0-20241007131713-f10651d043c8/updater/osx/Updater/Defines.h (about)

     1  //
     2  //  Defines.h
     3  //  Updater
     4  //
     5  //  Created by Gabriel on 4/13/16.
     6  //  Copyright © 2016 Keybase. All rights reserved.
     7  //
     8  
     9  #import <Foundation/Foundation.h>
    10  
    11  #define KBMakeError(MSG, ...) [NSError errorWithDomain:@"Updater" code:-1 userInfo:@{NSLocalizedDescriptionKey:[NSString stringWithFormat:MSG, ##__VA_ARGS__], NSLocalizedRecoveryOptionsErrorKey: @[@"OK"]}]