alpha-version-dce-check-in-ui
Version:
UI for taking attendance and checking people in.
19 lines (18 loc) • 513 B
TypeScript
/**
* Add an error to the log.
* @author Gabe Abrams
* @param {string} message - error message to log
* @param {string} code - the error code
* @param {object} [metadata={}] - a metadata object to attach to the log
* @param {boolean} [ignoreSessionExpiry] - if true, catch session expiry
* separately
*/
type LogError = (opts: {
message: string;
code: string;
metadata?: {
[key in string]: any;
};
ignoreSessionExpiry?: boolean;
}) => Promise<void>;
export default LogError;