Edited error message raised from class/module