Could use the corresponding constants for 'success', 'code' and 'error'