ClientException.typeNotSupported constructor

ClientException.typeNotSupported(
  1. Uri reference,
  2. Type type
)

Create an exception describing type is not supported for reference.

Implementation

factory ClientException.typeNotSupported(Uri reference, Type type) =>
    ClientException(
      'Requested $type for $reference is not supported',
      reference: reference,
    );