Response.formatInvalidFile constructor
Response.formatInvalidFile(
- Request request
Initialize a newly created instance to represent the FORMAT_INVALID_FILE error condition.
Implementation
Response.formatInvalidFile(Request request)
: this(request.id,
error: RequestError(RequestErrorCode.FORMAT_INVALID_FILE,
'Error during `${request.method}`: invalid file.'));