Skip to content

Class: UKomiDislikeDisabledException

Thrown when vote=down is rejected for the given widget context (HTTP 403).

Extends

Constructors

Constructor

ts
new UKomiDislikeDisabledException(message?: string, cause?: Error): UKomiDislikeDisabledException;

Parameters

message?

string = 'Dislike is disabled for this context'

cause?

Error

Returns

UKomiDislikeDisabledException

Overrides

UKomiApiException.constructor

Properties

cause?

ts
optional cause?: Error;

Optional underlying error that caused this exception

Inherited from

UKomiApiException.cause


code

ts
code: number;

HTTP status code or API error code

Inherited from

UKomiApiException.code


details?

ts
optional details?: unknown;

Raw response body from the API. Shape is API-version dependent, not part of the stable surface — prefer the specialized exception subclasses.

Inherited from

UKomiApiException.details