Add SecurityError class