{"record":{"id":"9fd64c805a0f486e","repo":"nextcloud/server","slug":"e-getmessage-9fd64c","errorCode":null,"errorMessage":"$e->getMessage()","messagePattern":"\\$e->getMessage\\(\\)","errorType":"exception","errorClass":"OCA\\DAV\\Connector\\Sabre\\Exception\\FileLocked","httpStatus":423,"severity":"error","filePath":"apps/dav/lib/Connector/Sabre/ObjectTree.php","lineNumber":189,"sourceCode":"\n\t\t// this will trigger existence check\n\t\t$this->getNodeForPath($sourcePath);\n\n\t\t[$destinationDir, $destinationName] = \\Sabre\\Uri\\split($destinationPath);\n\t\ttry {\n\t\t\t$this->fileView->verifyPath($destinationDir, $destinationName);\n\t\t} catch (InvalidPathException $ex) {\n\t\t\tthrow new InvalidPath($ex->getMessage());\n\t\t}\n\n\t\ttry {\n\t\t\t$this->fileView->copy($sourcePath, $destinationPath);\n\t\t} catch (StorageNotAvailableException $e) {\n\t\t\tthrow new \\Sabre\\DAV\\Exception\\ServiceUnavailable($e->getMessage());\n\t\t} catch (ForbiddenException $ex) {\n\t\t\tthrow new Forbidden($ex->getMessage(), $ex->getRetry());\n\t\t} catch (LockedException $e) {\n\t\t\tthrow new FileLocked($e->getMessage(), $e->getCode(), $e);\n\t\t}\n\n\t\t[$destinationDir,] = \\Sabre\\Uri\\split($destinationPath);\n\t\t$this->markDirty($destinationDir);\n\t}\n}\n","sourceCodeStart":171,"sourceCodeEnd":196,"githubUrl":"https://github.com/nextcloud/server/blob/ecdeb153ffdf227235c9a7e2d13dbe0f9c817bc3/apps/dav/lib/Connector/Sabre/ObjectTree.php#L171-L196","documentation":"Error \"$e->getMessage()\" thrown in nextcloud/server.","triggerScenarios":"Thrown at apps/dav/lib/Connector/Sabre/ObjectTree.php:189 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":[],"exampleFix":null,"handlingStrategy":null,"validationCode":null,"typeGuard":null,"tryCatchPattern":null,"preventionTips":[],"tags":[],"backgroundTag":null,"analyzedSha":"ecdeb153ffdf227235c9a7e2d13dbe0f9c817bc3","analyzedAt":"2026-08-17T01:36:13.386Z","schemaVersion":2},"datasetVersion":"2026-08-17T04:17:16.089Z"}