[Solved] How to get http error code?


#1
try {HTTP.call('GET', 'http://asdfasdfasdasd.com/adsfasdf')} catch(e) {console.log(e)}

How can I get the error code form e?


How to parse HTTP errors?
#2

e.response is what i was looking for.