DiscordPHP-Voice Documentation

ExtFfiNotFoundException extends Exception
in package
implements VoiceException

Thrown when the PHP FFI extension (ext-ffi) is unavailable or disabled.

The DAVE native library requires PHP's FFI to interface with native code.

Tags
since
8.1.0

Table of Contents

Interfaces

VoiceException
Marker interface for all DiscordPHP-Voice exceptions.

Methods

fromRuntimeError()  : self
Creates an instance from a message string or the runtime state.

Methods

fromRuntimeError()

Creates an instance from a message string or the runtime state.

public static fromRuntimeError([string $message = '' ]) : self

When is provided it is used verbatim. When omitted, a helpful message is composed with a reference link and any available runtime load error is appended.

Parameters
$message : string = ''
Return values
self
On this page

Search results