UNPKG
@thermopylae/lib.cache
Version:
latest (1.0.3)
1.0.3
1.0.2
1.0.1
1.0.0
0.0.1
Modular cache.
github.com/marinrusu1997/thermopylae
marinrusu1997/thermopylae
@thermopylae/lib.cache
/
dist
/
error.js
6 lines
(5 loc)
•
197 B
JavaScript
View Raw
1
2
3
4
5
6
import
{
Exception
}
from
'@thermopylae/lib.exception'
;
function
createException
(
code, message, cause
) {
return
new
Exception
(
"LIB_CACHE"
, code, message, cause); }
export
{ createException };