diff options
author | Jakob Odersky <jakob@odersky.com> | 2017-11-20 21:38:21 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-11-20 21:38:21 -0800 |
commit | f2a56045d0b29291a18054607701d5863722121e (patch) | |
tree | 34b5fc63cc425a27969c73354fd7a2071ea67ba3 /src/main/scala/xyz/driver/core/rest/errors/serviceException.scala | |
parent | 8d30baada3a9c25ef61ef80511f4b4f25799f0cb (diff) | |
parent | b872ee2649c7b56df413fbde746ee68312c17abd (diff) | |
download | driver-core-f2a56045d0b29291a18054607701d5863722121e.tar.gz driver-core-f2a56045d0b29291a18054607701d5863722121e.tar.bz2 driver-core-f2a56045d0b29291a18054607701d5863722121e.zip |
Merge pull request #91 from drivergroup/new-creds-and-format
New creds and format
Diffstat (limited to 'src/main/scala/xyz/driver/core/rest/errors/serviceException.scala')
-rw-r--r-- | src/main/scala/xyz/driver/core/rest/errors/serviceException.scala | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/main/scala/xyz/driver/core/rest/errors/serviceException.scala b/src/main/scala/xyz/driver/core/rest/errors/serviceException.scala index e91a3c2..d842c94 100644 --- a/src/main/scala/xyz/driver/core/rest/errors/serviceException.scala +++ b/src/main/scala/xyz/driver/core/rest/errors/serviceException.scala @@ -9,8 +9,7 @@ final case class InvalidInputException(override val message: String = "Invalid i final case class InvalidActionException(override val message: String = "This action is not allowed") extends ServiceException -final case class ResourceNotFoundException(override val message: String = "Resource not found") - extends ServiceException +final case class ResourceNotFoundException(override val message: String = "Resource not found") extends ServiceException final case class ExternalServiceException(serviceName: String, serviceMessage: String) extends ServiceException { override def message = s"Error while calling '$serviceName': $serviceMessage" |