1. 06 11月, 2017 1 次提交
  2. 22 9月, 2017 1 次提交
  3. 12 9月, 2017 1 次提交
    • B
      Add config and checks for trusted ID servers (#206) · f1fce556
      Brendan Abolivier 提交于
      * Add config for trusted ID servers
      
      * Add new error
      
      * Implement check for trusted ID server
      
      * Complete unfinished comment
      
      * Make comment more explicit in the config file
      
      * Use go standard errors in membership.go
      
      * Use standard errors instead of JSON responses in threepid
      
      * Doc errors
      
      * Remove unused parameter
      f1fce556
  4. 27 6月, 2017 1 次提交
  5. 22 5月, 2017 1 次提交
  6. 21 4月, 2017 1 次提交
  7. 10 4月, 2017 1 次提交
  8. 07 3月, 2017 1 次提交
  9. 21 2月, 2017 1 次提交
    • K
      Add error package and some Matrix errors (#13) · 966d3b95
      Kegsay 提交于
      Terse function names are used to make usage not stutter. For example:
      
      ```go
      err := error.Forbidden("you shall not pass")
      ```
      
      At the moment they are all the same fundamental `MatrixError` type. This will
      be bad if we ever want to `switch` based on the kind of error. I'm hoping we
      won't ever need to introspect into errors like this: ideally these errors would
      be created purely for immediately being returned in an HTTP response.
      
      `MatrixError` implements the `error` interface.
      966d3b95