Skip to content
Visit booth 3171 at Google Cloud Next to see how to unlock real-time decisions at scaleMore info

Error handling

If an error occurs as a result of the database operation, an exception is raised. Aerospike::Exceptions::Aerospike is inherited from StandardError, and can be caught using normal rescue clauses.

The Aerospike::Exceptions::Aerospike class provides an accessor to result_code that describes the exact cause of the Aerospike server error.

Feedback

Was this page helpful?

What type of feedback are you giving?

What would you like us to know?

+Capture screenshot

Can we reach out to you?