     
     var shouldSetupConstraints = true
 
+    internal var errorText: String! = "Please supply a valid value"
     internal let totalWidth : CGFloat = 375
     internal let totalHeight : CGFloat = 40
     internal let leftMargin : CGFloat = 16

    @IBInspectable var fieldTextColor: UIColor = UIColor.black
    @IBInspectable var fieldBkdColor: UIColor = UIColor.white
    @IBInspectable var keyboardType : UIKeyboardType = UIKeyboardType.default
    @IBInspectable var errorText: String! = "Please supply a valid value"
    @IBInspectable var delegate: BSInputLineDelegate?
    
    @IBInspectable var cornerRadius: CGFloat = 5.0

        
        // for debug of error
        if self.errorOn == true {
            showError(self.errorText)
        } else {
            hideError()
        }
