Skip to content

Instantly share code, notes, and snippets.

View awesomeandrey's full-sized avatar
๐Ÿ˜Ž
Clarity beats cleverness.

Andrii Melnichuk awesomeandrey

๐Ÿ˜Ž
Clarity beats cleverness.
View GitHub Profile
@AuraEnabled
static void throwAnException() {
AuraHandledException auraException = new AuraHandledException('The message that displays in Lightning');
auraException.setMessage('The message that you can get in a test');
// If setMessage() is not used, the exception messege won't be present in console (deploys, unit tests, ...)
throw auraException;
}
@IsTest
static void testThrowAnException() {
@rxaviers
rxaviers / gist:7360908
Last active June 8, 2026 19:29
Complete list of github markdown emoji markup

People

:bowtie: :bowtie: ๐Ÿ˜„ :smile: ๐Ÿ˜† :laughing:
๐Ÿ˜Š :blush: ๐Ÿ˜ƒ :smiley: โ˜บ๏ธ :relaxed:
๐Ÿ˜ :smirk: ๐Ÿ˜ :heart_eyes: ๐Ÿ˜˜ :kissing_heart:
๐Ÿ˜š :kissing_closed_eyes: ๐Ÿ˜ณ :flushed: ๐Ÿ˜Œ :relieved:
๐Ÿ˜† :satisfied: ๐Ÿ˜ :grin: ๐Ÿ˜‰ :wink:
๐Ÿ˜œ :stuck_out_tongue_winking_eye: ๐Ÿ˜ :stuck_out_tongue_closed_eyes: ๐Ÿ˜€ :grinning:
๐Ÿ˜— :kissing: ๐Ÿ˜™ :kissing_smiling_eyes: ๐Ÿ˜› :stuck_out_tongue: