How to handle custom errors from JSON response using JavaScript

join shbcf.ru