UNPKG

@annoto/ims-lti

Version:

Module for building an LTI Tool Provider and accept LTI launch requests

25 lines (23 loc) 558 B
class ConsumerError extends Error {} class ExtensionError extends Error {} class StoreError extends Error {} class ParameterError extends Error {} class SignatureError extends Error {} class NonceError extends Error {} class OutcomeResponseError extends Error { constructor(message, body, cause) { super(message); this.body = body; this.cause = cause; this.isOutcomeResponseError = true; } } module.exports = { ConsumerError, ExtensionError, StoreError, ParameterError, SignatureError, NonceError, OutcomeResponseError, };