1 unstable release

0.1.0 Mar 2, 2022

#9 in #happen

MIT license

3KB

fail-whale

▄████████████▄▐█▄▄▄▄█▌
█████▌▄▌▄▐▐▌██▌▀▀██▀▀
███▄█▌▄▌▄▐▐▌▀██▄▄█▌
▄▄▄▄█████████████

Easily print a fail whale

use fail_whale::*;

// When something bad happens
fail_whale::print();

/*
Prints to stdout
▄████████████▄▐█▄▄▄▄█▌
█████▌▄▌▄▐▐▌██▌▀▀██▀▀
███▄█▌▄▌▄▐▐▌▀██▄▄█▌
▄▄▄▄█████████████
*/
use fail_whale::*;

// When something bad happens
fail_whale::print_with_message("Oh no!");

/*
Prints to stdout
▄████████████▄▐█▄▄▄▄█▌
█████▌▄▌▄▐▐▌██▌▀▀██▀▀
███▄█▌▄▌▄▐▐▌▀██▄▄█▌
▄▄▄▄█████████████
Oh no!
*/

Dependencies

~0.1–6MB
~33K SLoC