1 unstable release

0.1.0 Mar 2, 2022

#4 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–9.5MB
~41K SLoC