`RPCError` cannot be used in a try/catch block since it does not inherit from `BaseException`.
RPCErrorcannot be used in a try/catch block since it does not inherit fromBaseException.