dendrite/roomserver/api
Kegsay 002fe05a20
Add PerformInvite and refactor how errors get handled (#1158)
* Add PerformInvite and refactor how errors get handled

- Rename `JoinError` to `PerformError`
- Remove `error` from the API function signature entirely. This forces
  errors to be bundled into `PerformError` which makes it easier for callers
  to detect and handle errors. On network errors, HTTP clients will make a
  `PerformError`.

* Unbreak everything; thanks Go!

* Send back JSONResponse according to the PerformError

* Update federation invite code too
2020-06-24 15:06:14 +01:00
..
alias.go Convert everything but serverkeyapi to inthttp (#1096) 2020-06-04 15:43:07 +01:00
api_trace.go Add PerformInvite and refactor how errors get handled (#1158) 2020-06-24 15:06:14 +01:00
api.go Add PerformInvite and refactor how errors get handled (#1158) 2020-06-24 15:06:14 +01:00
input.go Add PerformInvite and refactor how errors get handled (#1158) 2020-06-24 15:06:14 +01:00
output.go Roomserver API changes (#1118) 2020-06-11 19:50:40 +01:00
perform.go Add PerformInvite and refactor how errors get handled (#1158) 2020-06-24 15:06:14 +01:00
query.go Minor perf/debugging improvements (#1121) 2020-06-12 15:11:33 +01:00
wrapper.go Add PerformInvite and refactor how errors get handled (#1158) 2020-06-24 15:06:14 +01:00