How should I handle errors within a plugin?

How should I handle errors within a plugin?

File not found.