Get returned value

How catch error.

If you for some strange reason can't use events. You may catch error manually.

Method .one() return object with two field. Status and data. When status field contains FAILURE prefix data can contains valid JSON Api error, plain text or empty string.