www.delorie.com/gnu/docs/guile/goops_37.html   search  
 
Buy GNU books!


Goops Manual

[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]

3.7.2 Handling Invocation Errors

generic: no-method
method: no-method (gf <generic>) args
When an application invokes a generic function, and no methods at all have been defined for that generic function, GOOPS calls the no-method generic function. The default method calls goops-error with an appropriate message.

generic: no-applicable-method
method: no-applicable-method (gf <generic>) args
When an application applies a generic function to a set of arguments, and no methods have been defined for those argument types, GOOPS calls the no-applicable-method generic function. The default method calls goops-error with an appropriate message.

generic: no-next-method
method: no-next-method (gf <generic>) args
When a generic function method calls (next-method) to invoke the next less specialized method for that generic function, and no less specialized methods have been defined for the current generic function arguments, GOOPS calls the no-next-method generic function. The default method calls goops-error with an appropriate message.


  webmaster     delorie software   privacy  
  Copyright 2003   by The Free Software Foundation     Updated Jun 2003