public int getDefaultHttpStatusCode() {
        return isClientError() ? 400 : 500;
    }
Returns the recommended default HTTP status code of the error.

@return Returns the default HTTP status code.
smithy-model/src/main/java/software/amazon/smithy/model/traits/ErrorTrait.java