Using ApiError and made error chainable.