ErrorResponse ClassWebDriver
Provides a way to store errors from a response
Inheritance Hierarchy

SystemObject
  OpenQA.Selenium.RemoteErrorResponse

Namespace: OpenQA.Selenium.Remote
Assembly: WebDriver (in WebDriver.dll) Version: 3.1.0
Syntax

public class ErrorResponse

The ErrorResponse type exposes the following members.

Constructors

  NameDescription
Public methodErrorResponse
Initializes a new instance of the ErrorResponse class.
Public methodErrorResponse(DictionaryString, Object)
Initializes a new instance of the ErrorResponse class using the specified values.
Top
Properties

  NameDescription
Public propertyClassName
Gets or sets the class name that threw the error
Public propertyMessage
Gets or sets the message from the response
Public propertyScreenshot
Gets or sets the screenshot of the error
Public propertyStackTrace
Gets or sets the stack trace of the error
Top
Methods

  NameDescription
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Protected methodFinalize
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodToString
Returns a String that represents the current Object.
(Inherited from Object.)
Top
See Also

Reference