Response.formatWithErrors constructor

Response.formatWithErrors(
  1. Request request
)

Initialize a newly created instance to represent the FORMAT_WITH_ERROR error condition.

Implementation

Response.formatWithErrors(Request request)
    : this(request.id,
          error: RequestError(RequestErrorCode.FORMAT_WITH_ERRORS,
              'Error during `edit.format`: source contains syntax errors.'));