Exception: Parse::File::UntrustedHostError

Inherits:
Error
  • Object
show all
Defined in:
lib/parse/model/file.rb

Overview

Raised when a ‘Parse::File` is hydrated with a `url:` whose host is outside trusted_url_hosts and the untrusted_url_policy is `:raise`. The default policy is `:warn`, so this exception is opt-in via integrator configuration.

Instance Attribute Summary

Attributes inherited from Error

#code

Method Summary

Methods inherited from Error

#initialize

Constructor Details

This class inherits a constructor from Parse::Error