failGet method

void failGet(
  1. String path,
  2. String status
)

Refuses the open get at path with the wire status.

Implementation

void failGet(String path, String status) {
  final _Get get = _openGet(path);
  _wire.respond(get.wire!, status: status, data: _reason(status));
}