Accept PHP 8.1 enum in HttpApiException
Using enum helps developer to manage their error codes. Add support for passing an string backed enum as $code.
Using enum helps developer to manage their error codes. Add support for passing an string backed enum as $code.