Response.invalidFilePathFormat constructor

Response.invalidFilePathFormat(
  1. Request request,
  2. dynamic path
)

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

Implementation

Response.invalidFilePathFormat(Request request, path)
    : this(request.id,
          error: RequestError(RequestErrorCode.INVALID_FILE_PATH_FORMAT,
              'Invalid file path format: $path'));