Function Schema.isError

Indicates whether the schema is a both a record an an error type in a protocol.

bool isError() @safe const;