Extracted from Pike v7.8 release 866 at 2016-11-06.
pike.ida.liu.se
[Top]
Error
Error.Generic

Method Error.Generic()->message()


Method message

string message()

Description

Return a readable message describing the error. Normally simply returns error_message .

If you override this function then you should ensure that error_message is included in the returned message, since there might be code that catches your error objects, extends error_message with more info, and rethrows the error.