Added specific error messages when raising Errno
Fixed incorrect self in class method without self