StatusCode extension

on

Methods

is4xxError() bool

Available on int, provided by the StatusCode extension

isServerError() bool

Available on int, provided by the StatusCode extension