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

| function_name | function_type | description | comment | examples | |—————|—————|————-|———|———-|

Added Types

| type_name | type_size | logical_type | type_category | internal | |———–|———-:|————–|—————|———-|

Added Settings

| name | description | input_type | scope | aliases | |——|————-|————|——-|———|