Error manager

Error manager

Description

error handling functions

  • MException - Matrix Exception information.
  • error - Raise an error message.
  • getLastReport - Returns last recorded formatted error message.
  • lasterror - Returns last recorded error message.
  • lastwarn - Returns last recorded warning message.
  • rethrow - rethrow error.
  • throw - throw error.
  • throwAsCaller - Throw exception as if occurs within calling function.
  • warning - Display a warning message.