toHttpStatusOrNull

Returns the matching HttpStatus enum entry, or null if unknown.