-
Notifications
You must be signed in to change notification settings - Fork 0
Internal Error Handling
If the picosapi
module encounters an error internally (such as when attempting to connect to a resource or when parsing a JSON response), it will return a ErrorResponse
object with the following properties:
-
code
will be set to 400 (client error) -
message
will be set to"caught exception"
-
content
will be a Python dictionary with the one"message"
key that maps to a value containing the more detailed exception message
The picosapi
module was originally developed by Braden Hitchcock while taking a distributed system design class at Brigham Young University in 2018. It is free to use and distribute under the MIT License.
If you wish to contribute to the project, please fork the repository and create pull requests that can be merged into later versions.
Picos are useful in building Internet of Things (IoT) technology that preserves personal freedom. They are currently being developed under the direction of Dr. Phil Windley by Pico Labs at Brigham Young University. Picos is an actor-based programming system that supports people-centric, reactive programming on the Internet of Things.
For more information about Picos, visit Pico Labs or see Dr. Windley's article on Reactive Programming with Picos.