caccl
Version:
Canvas App Complete Connection Library: an all-in-one library for connecting your app to Canvas, handling lti, access tokens, and api.
23 lines (19 loc) • 526 B
text/typescript
/**
* List of error codes for the CACCL server
* @author Gabe Abrams
*/
// Highest error: CSERV11
enum ErrorCode {
NoLaunchInfo = 'CSERV1',
NoPassbackContent = 'CSERV2',
NoOutcomeInfo = 'CSERV3',
PassbackParamNotAccepted = 'CSERV4',
PassbackUnsuccessful = 'CSERV5',
NoAssignmentLaunch = 'CSERV6',
CantInitAPIWithoutLaunch = 'CSERV7',
CantInitAPIWithoutAuth = 'CSERV8',
PassbackBeforeCACCLInitialized = 'CSERV9',
StatusFailed = 'CSERV10',
NoAPIAuthDisabled = 'CSERV11',
};
export default ErrorCode;