FIle mode error. The operation can not be carried out because the mode in which the hosting file is opened is not adequate. For instance, removing an existing leaf from a read-only file is not allowed.
| 245 | |
| 246 | |
| 247 | class FileModeError(ValueError): |
| 248 | """FIle mode error. |
| 249 | |
| 250 | The operation can not be carried out because the mode in which the |
| 251 | hosting file is opened is not adequate. |
| 252 | |
| 253 | For instance, removing an existing leaf from a read-only file is not |
| 254 | allowed. |
| 255 | |
| 256 | """ |
| 257 | |
| 258 | pass |
| 259 | |
| 260 | |
| 261 | class NodeError(AttributeError, LookupError): |