Refused

com.softinio.verdict4s.Verdict4sError.Refused
final case class Refused(keys: NonEmptyList[QuestionKey], evaluation: Evaluation) extends Verdict4sError

The service declined to answer one or more questions.

Only OpenAI Decisions refuses, and it does so per question, without saying why. Every other question in the request may still have been answered: evaluation holds them all, with algebra.Answer.Refused under each key listed here. A question built with orRefused reads a refusal as None instead, and never contributes to this error.

Value parameters

evaluation

the complete response

keys

the questions that were refused

Attributes

Graph
Supertypes
trait Product
trait Equals
class Exception
class Throwable
trait Serializable
class Object
trait Matchable
class Any
Show all

Members list

Value members

Inherited methods

Attributes

Inherited from:
Throwable

Attributes

Inherited from:
Throwable

Attributes

Inherited from:
Throwable

Attributes

Inherited from:
Throwable

Attributes

Inherited from:
Throwable

Attributes

Inherited from:
Throwable
final def getSuppressed(): Array[Throwable]

Attributes

Inherited from:
Throwable

Attributes

Inherited from:
Throwable

Attributes

Inherited from:
Throwable

Attributes

Inherited from:
Throwable

Attributes

Inherited from:
Throwable

Attributes

Inherited from:
Product

Attributes

Inherited from:
Product

Attributes

Inherited from:
Throwable
def toString(): String

Returns a string representation of the object.

Returns a string representation of the object.

The default representation is platform dependent.

Attributes

Returns

a string representation of the object.

Inherited from:
Throwable