ClientException.dataNotSupported constructor

ClientException.dataNotSupported(
  1. Uri reference,
  2. Type dataType
)

Create an exception describing data of dataType is not supported.

An exception related to reference.

Implementation

factory ClientException.dataNotSupported(Uri reference, Type dataType) =>
    ClientException(
      'Data of $dataType for $reference is not supported',
      reference: reference,
    );