ClientException.dataForTypeNotSupported constructor

ClientException.dataForTypeNotSupported(
  1. Uri reference,
  2. Type type,
  3. Type dataType
)

Create an exception describing data of dataType is not supported.

An exception related to reference and type for expected for a type.

Implementation

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