Expose error structs