org.imsglobal.lti.launch.LtiError Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of basiclti-util Show documentation
Show all versions of basiclti-util Show documentation
BasicLTI Utilities are a set of utility classes to aid in the development of BasicLTI consumers and
providers. They deal with much of the heavy lifting and make the process more opaque to the developer.
The newest version!
package org.imsglobal.lti.launch;
/**
* Created by paul on 5/28/14.
*/
public class LtiError {
private final String label;
public static final LtiError INVALID_HASH = new LtiError("invalid_hash");
public static final LtiError TIMESTAMP_MISMATCH = new LtiError("timestamp_mismatch");
public static final LtiError BAD_REQUEST = new LtiError("bad_request");
private LtiError(String label){
this.label = label;
}
public String toString(){
return label;
}
}