ex_api v1.0.0-rc.2 API Reference
Modules
This module manages all apis and theirs implementations
Defines struct for api and macro to create it
Helper module for working with multiple nodes
Helper module for managing errors
This event is send when you change default api implementation
This event is send when you register api or its implementation
This event is send when you unregister api or its implementation
Defines struct for storing feature data and helpful methods used internally
Defines struct for api implementation and macro to create it
Defines macros that will be imported automatically and used by you in api and api implementation body
Defines struct for storing specification parts and helpful methods used internally
Helper module for validating passed arguments
Exceptions
This error is returned/send when you pass ExApi.Api
struct that does not matches api found in state
This error is returned/send when you pass module of api that could not be found in state
This error is returned/send when you pass ExApi.Api
struct that is not yet registered in state
This error is returned when you try to get feature that is not defined in api
This error is returned when you try to call feature that is not yet implemented by specified implementation
This error is returned when you try to call feature that is not supported by specified implementation
This error is returned/send when you pass ExApi.Implementation
struct that does not matches implementation found in state
This error is returned/send when you pass module of implementation that could not be found in state
This error is returned/send when you pass ExApi.Implementation
struct that is not yet registered in state
This error is returned/send when specified module is not yet loaded
This error is returned/send when specified module is already loaded, but it’s not api
This error is returned/send when specified module is already loaded, but it’s not implementation
This error is returned/send when you pass implementation with wrong api