stat: added backend error structure, only 'code' field is supported and used