FidlError.fromTransportErr constructor

FidlError.fromTransportErr(TransportErr transportErr)

Implementation

factory FidlError.fromTransportErr(TransportErr transportErr) {
  switch (transportErr) {
    case TransportErr.unknownMethod:
      return const UnknownMethodException();
  }
}