Exception: CloudEvents::NotCloudEventError
- Inherits:
-
CloudEventsError
- Object
- StandardError
- CloudEventsError
- CloudEvents::NotCloudEventError
- Defined in:
- lib/cloud_events/errors.rb
Overview
An error raised when a protocol binding was asked to decode a CloudEvent from input data, but does not believe that the data was intended to be a CloudEvent. For example, the HttpBinding might raise this exception if given a request that has neither the requisite headers for binary content mode, nor an appropriate content-type for structured content mode.