- add 1043
additional token required
- add 1041
resource possibly blocked by client
- add 1042
3rd party service error
- fix bug: lderror.id didn't check argument for existence before accessing its property
- add 1036
reused passwords not allowed
- add 1037
offline
- add 1038
file too large
- add 1039
payment rejected
for suspicious user - add 1040
registration closed
- update payload only if given parameter is an object
- remove unused log
- add 1034
user not found
- add 1035
payment rejected
- support payload as parameter, passed along with error object
- add 1033
view failed to render
- fix bug: exception in unhandled rejection handler should be thrown within
setTimeout
for error to be triggered.
- add 1030
password mismatched
, 1031weak password
. - add 1032
credential scheme mismatched
- for better exception logging, still throw error in error handler if no id for the given error
- add 1029
session data corrupted
- add 1028
resource unavailable
- keep an original error object in
error
- add event handler for taking care lderror in
error
andunhandledrejection
events
- add 1027
missing config
- add api
message
for getting message corresponding to given id
- add 1026
not applicable
- fix bug: id is gone when wrap lderror twice ( lderror(lderror(404)) )
- fix typo in 1010 error (
recaptcha
tocaptcha
) - add
lderror.handler
for error handling - update id reserved range for http code from 400 ~ 599 to 100 ~ 599
- upgrade cached-path-relative for vulnerability fixing
- include
id
in dummy message if message is not found for specific id.
- add 1024
limited by throttling
- add 998
skipped
- add 1025
runtime error
- upgrade modules
- release with compact directory structure
- add
browser
field inpackage.json
. - further minimize generated js file with mangling and compression
- also support pattern like
lderror(1000, "message")
- return unknown lderror with unrecognized id.
- add 1023
lderror testing
error
- support constructing via function invocation.
- prevent potential prototype pollution issue
- unwrap in code, instead wrap with compiler
- no print livescript header
- fix bug: main file should point to
index.js
, instead oflde.js
now.
- rename
lde.js
toindex.js
- overwrite
message
not only if it's undefined but also if it's empty - populate in window only if module is not defined.
- rename to
lderror
.
- add 1021 email not verified