Utils

org.encalmo.aws.Utils
object Utils

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any
Self type
Utils.type

Members list

Extensions

Extensions

extension [T](entity: T)
inline def writeAsJson: Value
inline def writeAsJsonObject: Obj
inline def writeAsString: String
extension [T](value: Either[Throwable, T])
inline def eitherErrorOr[R](result: R)(using error: ErrorContext): Either[error.Error, R]
inline def eitherErrorOrResult(using error: ErrorContext): Either[error.Error, T]
inline def eitherErrorOrUnit(using error: ErrorContext): Either[error.Error, Unit]
extension [T](using error: ErrorContext)(value: Either[Throwable, Either[error.Error, T]])
inline def eitherErrorOrResultFlatten: Either[error.Error, T]