@@ -0,0 +1,998 @@
+package com.github.dhavalmehta1997.savetogoogledrive.model;%0A%0Aimport org.springframework.http.HttpStatus;%0A%0Apublic class ApiError %7B%0A%0A    int statusCode;%0A    String meaning;%0A    String message;%0A    String description;%0A%0A    public ApiError(HttpStatus httpStatus, String message, String description) %7B%0A        statusCode = httpStatus.value();%0A        meaning = httpStatus.getReasonPhrase();%0A        this.message = message;%0A        this.description = description;%0A    %7D%0A%0A    public ApiError(int statusCode, String meaning, String message, String description) %7B%0A        this.statusCode = statusCode;%0A        this.meaning = meaning;%0A        this.message = message;%0A        this.description = description;%0A    %7D%0A%0A    public int getStatusCode() %7B%0A        return statusCode;%0A    %7D%0A%0A    public String getMessage() %7B%0A        return message;%0A    %7D%0A%0A    public String getDescription() %7B%0A        return description;%0A    %7D%0A%0A    public HttpStatus getStatus() %7B%0A        return HttpStatus.valueOf(statusCode);%0A    %7D%0A%7D%0A

Add error model