1

I am using clojure with the quil library, at one point in the code I load a random image in a folder, occasionally I get an error which says:

    Could not find a method to load ./data/images/367-014.jpg%3F0

How could I make it so that the code keeps on running if it finds this error?

Jake Schievink
  • 409
  • 4
  • 16

1 Answers1

0

Assuming you have no way to otherwise prevent the error you are probably looking for try/catch. (but this question is way underspecified)

see:

http://clojuredocs.org/clojure_core/1.2.0/clojure.core/try

DrLivingston
  • 788
  • 6
  • 15