XDR kommit v0.1.0 XDR.Error.Void exception View Source

This module is in charge of containing the errors that may be raised by the XDR.Void module

Link to this section Summary

Functions

This function is in charge of raise the errors that can be returned by XDR.Void module ## Parameters

Link to this section Functions

This function is in charge of raise the errors that can be returned by XDR.Void module ## Parameters:

the function only have one parameter that is an atom which represents the type of error returned by the module

### Example

def exception(:not_integer) do
  ...
end

Raises an exception error when the error is produced