|
GRPC Objective-C
1.26.0
|
#import <NSError+GRPC.h>
Class Methods | |
| (instancetype) | + grpc_errorFromStatusCode:details:errorString: |
| Returns nil if the status code is OK. More... | |
| + (instancetype) grpc_errorFromStatusCode: | (grpc_status_code) | statusCode | |
| details: | (const char *) | details | |
| errorString: | (const char *) | errorString | |
Returns nil if the status code is OK.
Otherwise, a NSError whose code is one of |GRPCErrorCode| and whose domain is |kGRPCErrorDomain|.