How to create errors like this - Sapphire - Imagine a Framework