http-status-codes icon indicating copy to clipboard operation
http-status-codes copied to clipboard

Get constant name by status code

Open j3bb9z opened this issue 1 year ago • 0 comments

Hi,

It would be useful to get constant name by status code:

getConstantNameByStatusCode(500) // 'INTERNAL_SERVER_ERROR'

j3bb9z avatar Jan 17 '24 15:01 j3bb9z