bugfix. second argument of raiseError must be error code. value like 'usage' is useless.