TapProtoException.fromCode constructor

TapProtoException.fromCode(
  1. int errorCode,
  2. String message
)

Implementation

factory TapProtoException.fromCode(int errorCode, String message) {
  return TapProtoException._internal(errorCode,
      getLiteralFromTapProtoExceptionErrorCode(errorCode), message);
}