Table of Contents

Class ObsResponseException

Namespace
OBSStudioClient.Exceptions
Assembly
OBSClient.dll

Represents an exception that is thrown when OBS Studio returns an error in a message.

[Serializable]
public class ObsResponseException : ObsClientException, ISerializable
Inheritance
ObsResponseException
Implements
Inherited Members

Remarks

You can continue using the ObsClient after this exception is thrown. This exception does not indicate that the communication between the client and OBS Studio is lost, but merely that OBS Studio has returned an error in reply to your request. For example, when you call GetCurrentPreviewScene, but Studio Mode is not turned on in OBS Studio.

Constructors

ObsResponseException()

Initializes a new instance of the ObsResponseException class.

ObsResponseException(RequestStatus)

Initializes a new instance of the ObsResponseException class.

ObsResponseException(RequestStatusCode, string?)

Initializes a new instance of the ObsResponseException class.

Properties

ErrorCode

Gets the RequestType for the exception.

ErrorMessage

Gets the error message for the exception.

Message

Gets the exception message.