alpha-version-dce-check-in-ui
Version:
UI for taking attendance and checking people in.
18 lines (16 loc) • 493 B
text/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;