class X::Promise::Vowed
ErrorsCollection

class X::Promise::Vowed

Error due to directly trying to keep/break a vowed promise.

class X::Promise::Vowed is Exception { }

This exception is thrown when code tries to keep/break an already vowed promise without going through the corresponding Vow object.

Methods

method promise

method promise()

Returns the vowed Promise.