JUCE v8.0.9
JUCE API
 
Loading...
Searching...
No Matches
juce::WebBrowserComponent::EvaluationResult::Error Struct Reference

A simple error type class. More...

#include <juce_WebBrowserComponent.h>

Collaboration diagram for juce::WebBrowserComponent::EvaluationResult::Error:

Public Types

enum class  Type {
  unknown ,
  javascriptException ,
  unsupportedReturnType
}
 Error type. More...
 

Public Attributes

String message
 
Type type
 

Detailed Description

A simple error type class.

Member Enumeration Documentation

◆ Type

Error type.

Enumerator
unknown 

Error occurring for a reason unknown to us.

javascriptException 

Error occurring because of a Javascript exception being thrown.

unsupportedReturnType 

Error occurring because the returned result cannot be serialised into a native type e.g.

Promise.

Member Data Documentation

◆ message

String juce::WebBrowserComponent::EvaluationResult::Error::message

◆ type

Type juce::WebBrowserComponent::EvaluationResult::Error::type

The documentation for this struct was generated from the following file: