#error

( specific directive - since version 2.0.7 )

Throws an error with the given message

Examples :

    #if( $flag )
    #error( "Flag is true!" )
    #end

    #if( ! $entity.hasPrimaryKey() )
    #error( "Primary Key required!" )
    #end