Exception: MonoVM::Whois::ServerRefusedError
- Defined in:
- lib/monovm/whois/errors.rb
Overview
The server answered, but refused to give a verdict: rate limiting, a blocked client, a retired port 43 endpoint, or an HTTP status that is not an answer (401/403/405/406/429/5xx).
This is deliberately distinct from "the domain is registered". Conflating the two is how a permissive detector ends up reporting registered domains as free.
Instance Attribute Summary collapse
-
#endpoint ⇒ Object
readonly
Returns the value of attribute endpoint.
Instance Method Summary collapse
-
#initialize(message, endpoint: nil) ⇒ ServerRefusedError
constructor
A new instance of ServerRefusedError.
Constructor Details
#initialize(message, endpoint: nil) ⇒ ServerRefusedError
Returns a new instance of ServerRefusedError.
52 53 54 55 |
# File 'lib/monovm/whois/errors.rb', line 52 def initialize(, endpoint: nil) @endpoint = endpoint super() end |
Instance Attribute Details
#endpoint ⇒ Object (readonly)
Returns the value of attribute endpoint.
50 51 52 |
# File 'lib/monovm/whois/errors.rb', line 50 def endpoint @endpoint end |