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

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

Link to this section Summary

Functions

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

Link to this section Functions

This function is in charge of raise the errors that can be returned by XDR.String 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