Search Shortcut cmd + k | ctrl + k
chaos

Creates chaos! ⋆✴︎˚。⋆ Chaos allows you to throw any type of DuckDB exception, or to raise a SIGSEGV, SIGABRT, or SIGBUS signal.

Maintainer(s): taniabogatsch

Installing and Loading

INSTALL chaos FROM community;
LOAD chaos;

Example

-- Throw exceptions!
SELECT chaos_exception('hello', 'CATALOG');
SELECT chaos_exception('hello', 'INTERNAL');
SELECT chaos_exception('hello', 'FATAL');

-- Raise signals!
SELECT chaos_signal('SIGSEGV');
SELECT chaos_signal('SIGABRT');
SELECT chaos_signal('SIGBUS');

About chaos

Creates chaos! ⋆✴︎˚。⋆ Chaos allows you to throw any type of DuckDB exception, or to raise a SIGSEGV, SIGABRT, or SIGBUS signal. Signals do not work on Windows.

Added Functions

function_name function_type description comment examples
chaos_exception scalar NULL NULL  
chaos_signal scalar NULL NULL  

Overloaded Functions

This extension does not add any function overloads.

Added Types

This extension does not add any types.

Added Settings

This extension does not add any settings.