This module provides the structure for handling API server responses in the Kdeps system.
It includes classes and variables for managing both successful and error responses, as well as
any files returned by the server. It also defines how data blocks and error blocks are structured
in the API responses.
This module is part of the kdeps schema and interacts with the API server to process responses.
The response block containing data returned by the API server in a successful request, if any.
If the request was successful, this block contains the data associated with the response.
APIServerResponseBlock: Contains a listing of the returned data items.
The error block containing details of any error encountered during the API request.
If the request was unsuccessful, this block contains the error code and error message
returned by the server.
APIServerErrorsBlock: Contains the error code and message explaining the issue.
Returns the relative, descendent directory path between this module and other.
Throws if no such path exists.
For example, if module mod1 has path /dir1/mod1.pkl, and module mod2 has path /dir1/dir2/dir3/mod2.pkl,
then mod1.relativePathTo(mod2) will return List("dir2", "dir3").
A common use case is to compute the directory path between a template located at the root of a hierarchy
(say rootModule.pkl) and the currently evaluated module (accessible via the module keyword):
Abstractions for Kdeps API Server Responses