Bug fixed: sanitize messages cause over msg size limit, added decoration for error messages
Added displaying custom errors from js and api