debian-mirror-gitlab/app/assets/javascripts/error_tracking/components/constants.js

22 lines
450 B
JavaScript
Raw Normal View History

2020-03-13 15:44:24 +05:30
export const severityLevel = {
FATAL: 'fatal',
ERROR: 'error',
WARNING: 'warning',
INFO: 'info',
DEBUG: 'debug',
};
export const severityLevelVariant = {
[severityLevel.FATAL]: 'danger',
2020-06-23 00:09:42 +05:30
[severityLevel.ERROR]: 'neutral',
2020-03-13 15:44:24 +05:30
[severityLevel.WARNING]: 'warning',
[severityLevel.INFO]: 'info',
2020-06-23 00:09:42 +05:30
[severityLevel.DEBUG]: 'muted',
2020-03-13 15:44:24 +05:30
};
export const errorStatus = {
IGNORED: 'ignored',
RESOLVED: 'resolved',
UNRESOLVED: 'unresolved',
};