# Show Error notification in Editor

**URL:** <https://forums.unrealengine.com/t/show-error-notification-in-editor/422753>\
**Category:** C++\
**Tags:** error, notification, unreal-engine, editor, CPP, question\
**Created:** [April 16, 2018, 3:40am UTC](https://forums.unrealengine.com/t/show-error-notification-in-editor/422753 "2018-04-16T03:40:04Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Wodann](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Wodann](https://forums.unrealengine.com/u/Wodann)\
**Post date:** [April 16, 2018, 3:40am UTC](https://forums.unrealengine.com/t/show-error-notification-in-editor/422753/1 "2018-04-16T03:40:04Z")

</div>

I have implemented an Actor C++ class, which has a class type property that can be edited from within the editor. By default it is set to None, which would cause a crash in my code. In this case, I log an error and don’t execute the code.

Unless someone is actually looking at the Output Log, they will not notice what is wrong, and might suspect a bug instead. To prevent this, I’d like to stop playback and show an error notification (similar to other in-editor error notifications such as C++ compilation errors). How can I do this?
