toValue method

int toValue()

Implementation

int toValue() {
  switch (this) {
    case BMKErrorCode.BMKErrorOk: return 0;
    case BMKErrorCode.BMKErrorConnect: return 2;
    case BMKErrorCode.BMKErrorData: return 3;
    case BMKErrorCode.BMKErrorRouteAddr: return 4;
    case BMKErrorCode.BMKErrorResultNotFound: return 100;
    case BMKErrorCode.BMKErrorLocationFailed: return 200;
    case BMKErrorCode.BMKErrorPermissionCheckFailure: return 300;
    case BMKErrorCode.BMKErrorParse: return 310;
    default: return 0;
  }
}