Class: A2A::PushNotificationNotSupportedError

Inherits:
JSONRPCError
  • Object
show all
Defined in:
lib/a2a/types/push_notification_not_supported_error.rb

Overview

Error for push notification not supported

Instance Method Summary collapse

Methods included from Extensions::CaseTransformation

#camelize, included, #to_json

Instance Method Details

#codeInteger

Returns Error code (-32003).

Returns:

  • (Integer)

    Error code (-32003)



7
# File 'lib/a2a/types/push_notification_not_supported_error.rb', line 7

attribute :code, Types::Integer.constant(ErrorCodes::PUSH_NOTIFICATION_NOT_SUPPORTED)

#datanil

Returns No additional data.

Returns:

  • (nil)

    No additional data



13
# File 'lib/a2a/types/push_notification_not_supported_error.rb', line 13

attribute? :data, Types::Nil.constant(nil)

#messageString

Returns Error message.

Returns:

  • (String)

    Error message



10
# File 'lib/a2a/types/push_notification_not_supported_error.rb', line 10

attribute :message, Types::String.constant('Push Notification is not supported')