@Reason
    public int getReason() {
        return reason;
    }
Returns the reason code of scan failure.

@return One of the {@link Reason} codes.
rxandroidble/src/main/java/com/polidea/rxandroidble2/exceptions/BleScanException.java