Documented return codes of mg_read()