Expose error type