edu.ksu.canvas.errors.GenericErrorResponse Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of canvas-api Show documentation
Show all versions of canvas-api Show documentation
A native Java library to talk to the Canvas REST API
package edu.ksu.canvas.errors;
import java.util.List;
import java.util.Map;
/**
* The error object that is returned when the creation of certain objects fails because the data isn't good.
* This allows you to retrieve more information about what was wrong with your request.
*/
public class GenericErrorResponse {
private Map> errors;
public Map> getErrors() {
return errors;
}
public void setErrors(Map> errors) {
this.errors = errors;
}
}